PREFIX is not honored for dependencies

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Aug 6 16:00:54 UTC 2011


On 06/08/2011 16:21, Steve Kargl wrote:
> man ports
> man make.conf
> man src.conf
> 
> 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'
> 
>      PREFIX        Where to install things in general (usually /usr/local).
> 

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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110806/6162a5a4/signature.pgp


More information about the freebsd-ports mailing list