diff options
author | hubertf <hubertf> | 2000-03-13 17:47:07 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-03-13 17:47:07 +0000 |
commit | 183277bdbd544cb7efcaa8c737bac5d209fa7169 (patch) | |
tree | d2ee2a65318b6a5f6dbe69e99d6f673a4455cb14 /mk | |
parent | df0b942e9f31cc693c0a49610bdddcffb4e9e6b8 (diff) | |
download | pkgsrc-183277bdbd544cb7efcaa8c737bac5d209fa7169.tar.gz |
if DESTDIR is set, don't change PKG_DBDIR when PKGTOOLSVERSION
is not known (yet).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 66a6b755ef7..7a1ae02071b 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.417 2000/03/13 14:24:27 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.418 2000/03/13 17:47:07 hubertf Exp $ # # This file is in the public domain. # @@ -544,7 +544,7 @@ TRUE?= /usr/bin/true TYPE?= type .endif # !SunOS -.if defined(DESTDIR) +.if (defined(DESTDIR) && defined(PKGTOOLS_VERSION)) PKG_ADD?= PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_add PKG_CREATE?= PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_create PKG_DELETE?= PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_delete |