Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Aug 2011 17:00:31 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: PREFIX is not honored for dependencies
Message-ID:  <4E3D651F.5070208@infracaninophile.co.uk>
In-Reply-To: <20110806152105.GB85982@troutmask.apl.washington.edu>
References:  <20110805220853.GA61697@troutmask.apl.washington.edu> <4E3D06D0.7020204@infracaninophile.co.uk> <20110806152105.GB85982@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigEDEEC49C8AC570A552D34E71
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 06/08/2011 16:21, Steve Kargl wrote:
> man ports
> man make.conf
> man src.conf
>=20
> Hmmm, no description of LOCALBASE.

Good heavens.  You're absolutely right.  That is a most peculiar
omission.  It certainly should be mentioned in ports(7).

> So how is one to understand the difference?  From 'man ports'
>=20
>      PREFIX        Where to install things in general (usually /usr/loc=
al).
>=20

The comments in /usr/ports/Mk/bsd.ports.mk, plus descriptions in The
Porter's Handbook pretty much cover where and how LOCALBASE is used.
Even so, it could still do with an unambiguous statement somewhere
(IMHO) that LOCALBASE is the master control for where the ports will
install software and look for installed packages to resolve dependencies.=


In fact, as the default is to set PREFIX to the same as LOCALBASE, just
resetting LOCALBASE should get the effect you were trying to achieve.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigEDEEC49C8AC570A552D34E71
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk49ZSkACgkQ8Mjk52CukIwFcwCfU6cU1LsDoLmRq/RBSYpPUO1Q
1G8AoICkbZ8ZYADHrc3vl9uzAHLtZdby
=gJse
-----END PGP SIGNATURE-----

--------------enigEDEEC49C8AC570A552D34E71--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E3D651F.5070208>