diff options
author | jlam <jlam@pkgsrc.org> | 2004-05-17 04:44:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-05-17 04:44:44 +0000 |
commit | 46512e49fbec703e1760a963e7c02a19cd103a32 (patch) | |
tree | 482e2317814e8e67a90e6733351b5124c7316675 /Packages.txt | |
parent | ed177b4d699d8babc39bbba8864fac9b764b39ad (diff) | |
download | pkgsrc-46512e49fbec703e1760a963e7c02a19cd103a32.tar.gz |
Add a new package-settable variable, INSTALLATION_PREFIX, as discussed
with gavan@NetBSD.org 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 to mean (1).
INSTALLATION_PREFIX is meant to be set some time before bsd.pkg.mk is
included, and provides the value for PREFIX if it's defined, e.g.
NO_MTREE= yes
INSTALLATION_PREFIX= /
.include "../../mk/bsd.pkg.mk"
This allows us to remove all cases where PREFIX is explicitly set in
the package Makefile, e.g. Java VM packages, qmail, etc.
Diffstat (limited to 'Packages.txt')
0 files changed, 0 insertions, 0 deletions