On Sun, 25 Jan 2009, Stuart Henderson wrote:

> On 2009/01/25 22:53, Antoine Jacoutot wrote:
> > On Sun, 25 Jan 2009, Stuart Henderson wrote:
> > > Maybe better like this, what do you think? Moved README.OpenBSD to
> > > pkg/MESSAGE, and used SUBST_CMD to replace some hardcoded /usr/local
> > > with ${LOCALBASE}.
> > 
> > Shouldn't these be TRUEPREFIX instead?
> 
> I honestly don't know, they're used inconsistently in the tree

No need to copy previous mistakes ;)

> and I couldn't work out from bsd.port.mk(5) if either is preferred
> in the usual case where they give the same result.

Basically, (TRUE)PREFIX is where you're about to install your stuff.
LOCALBASE is when you refer to already installed stuffs.

I know PREFIX=LOCALBASE by default, but as consistency, it should be set 
correctly.

-- 
Antoine

Reply via email to