diff options
author | jwise <jwise@pkgsrc.org> | 2001-01-29 01:56:51 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2001-01-29 01:56:51 +0000 |
commit | 8fbf4b11a5f373d6ab1eacc9cb605ce775bc04bc (patch) | |
tree | 7ff1357239f0f2f7ed9fc6680305337093f8edcd /misc/proj | |
parent | a39a4ebaa0213f6f9daae385abe33330181788c4 (diff) | |
download | pkgsrc-8fbf4b11a5f373d6ab1eacc9cb605ce775bc04bc.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