summaryrefslogtreecommitdiff
path: root/mk/pkginstall
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-06 19:49:52 +0000
committerjlam <jlam@pkgsrc.org>2006-06-06 19:49:52 +0000
commit811618533fc142693957d9e0344a6dc7f28def1a (patch)
tree99960ae71821d07307102824d13378453ae578b9 /mk/pkginstall
parent9699e47f578bdca903128d90aa382e9d6da88413 (diff)
downloadpkgsrc-811618533fc142693957d9e0344a6dc7f28def1a.tar.gz
Avoid using PKGNAME in target names since they are "immediately"
resolved in much the same manner as variables set using :=. PKGNAME could be set after including bsd.pkg.mk (which is poor form), and it's too close to the pkgsrc-2006Q2 branch to fix that all over pkgsrc at this time). This fixes building shells/static-bash2.
Diffstat (limited to 'mk/pkginstall')
-rw-r--r--mk/pkginstall/bsd.pkginstall.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk
index 6b8e1256f8e..b2c48836178 100644
--- a/mk/pkginstall/bsd.pkginstall.mk
+++ b/mk/pkginstall/bsd.pkginstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.5 2006/06/05 22:49:44 jlam Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.6 2006/06/06 19:49:52 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and implements the
# common INSTALL/DEINSTALL scripts framework. To use the pkginstall
@@ -30,7 +30,7 @@ _PKGINSTALL_DIR= ${WRKDIR}/.pkginstall
# XXX This should not be duplicated from the install module, but we
# XXX need this until pkginstall is refactored.
# XXX
-PKG_DB_TMPDIR?= ${WRKDIR}/.pkgdb/${PKGNAME}
+PKG_DB_TMPDIR?= ${WRKDIR}/.pkgdb
# These are the template scripts for the INSTALL/DEINSTALL scripts.
# Packages may do additional work in the INSTALL/DEINSTALL scripts by