summaryrefslogtreecommitdiff
path: root/misc/proj
diff options
context:
space:
mode:
authorjwise <jwise>2001-01-29 01:56:51 +0000
committerjwise <jwise>2001-01-29 01:56:51 +0000
commit487ecf0132ca31804bc1a84dc6735e734ef1d9ce (patch)
tree7ff1357239f0f2f7ed9fc6680305337093f8edcd /misc/proj
parent3ee78b86bf5ebf8228f36e38f01037525d57fd89 (diff)
downloadpkgsrc-487ecf0132ca31804bc1a84dc6735e734ef1d9ce.tar.gz
As per discussion on tech-pkg, correct behavior of `make package' in the
case where DESTDIR is set. Previously, if DESTDIR was set when a pkg was installed, $DESTDIR/var/db/pkg/+CONTENT would get `@cwd $DESTDIR/$PREFIX', as would the +CONTENT archived in the binary package. The first is correct, the second is not. Now, @cwd in the +CONTENT recorded in the binary package gets $PREFIX (no $DESTDIR). This allows binary packages built into a DESTDIR to be installed on a real system. The @cwd in the installed PKG_DBDIR ($DESTDIR/var/db/pkg) remains the same. In addition, the full path ($DESTDIR/$PREFIX) is recorded in @src in the binary package's +CONTENT, for reference purposes. This patch is the same as that posted to tech-pkg, except that variable names have been clarified as suggested by hubertf.
Diffstat (limited to 'misc/proj')
0 files changed, 0 insertions, 0 deletions