PREFIX is not honored for dependencies

Matthew Seaman m.seaman at
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/, 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.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID: matthew at               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 :

More information about the freebsd-ports mailing list