To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 05/22/2004 12:06:23
On Mon, 17 May 2004, Johnny C. Lam wrote:

> Log Message:
> Add a new package-settable variable, INSTALLATION_PREFIX, as discussed
> with at pkgsrcCon.
> Within the pkgsrc infrastructure, LOCALBASE has two different meanings:
>     (1) where the package being built should be installed, and
>     (2) where to find previously installed packages.
> Most instances of case (2) should be converted to use EVAL_PREFIX,
> but there are some cases where this is impossible.  To resolve this,
> we preserve LOCALBASE to mean (2) and we create a new variable
> INSTALLATION_PREFIX is meant to be set some time before is
> included, and provides the value for PREFIX if it's defined, e.g.
> 	NO_MTREE=               yes
> 	.include "../../mk/"
> This allows us to remove all cases where PREFIX is explicitly set in
> the package Makefile, e.g. Java VM packages, qmail, etc.

Are there any examples of this yet?

 Jeremy C. Reed

 	  	 	 technical support & remote administration