summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.install.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-28 19:06:07 +0000
committerjlam <jlam@pkgsrc.org>2005-01-28 19:06:07 +0000
commit0a8bdc04af349d0fee3cadfacc15ead981dde1fe (patch)
tree90dabf91dd3aa88865f9409cfa91317363e7ec1d /mk/bsd.pkg.install.mk
parent8f3180c9141db027d6f29219afdabffe2dc14ddb (diff)
downloadpkgsrc-0a8bdc04af349d0fee3cadfacc15ead981dde1fe.tar.gz
Avoid hardcoding the refcount database into the INSTALL scripts. We
now simply make ${PKG_REFCOUNT_DBDIR} always be ${PKG_DBDIR}.refcount so that it always follows the location of ${PKG_DBDIR}. This preserves the ability for PKG_DBDIR (and PKG_REFCOUNT_DBDIR) to be different on different machines despite using the same binary packages.
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r--mk/bsd.pkg.install.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk
index 0016a94b270..5770f5ec164 100644
--- a/mk/bsd.pkg.install.mk
+++ b/mk/bsd.pkg.install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.77 2005/01/28 18:32:40 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.78 2005/01/28 19:06:07 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -78,14 +78,6 @@ FILES_SUBST+= CONF_DEPENDS=${CONF_DEPENDS:C/:.*//:Q}
FILES_SUBST+= PKGBASE=${PKGBASE}
FILES_SUBST+= PKG_INSTALLATION_TYPE=${PKG_INSTALLATION_TYPE}
-# Database directory for reference-counted package objects. Subdirectories
-# represent different classes of package objects, e.g. dirs, users,
-# group, etc. The default value is ${PKG_DBDIR} with ".refcount"
-# appended to the name.
-#
-PKG_REFCOUNT_DBDIR?= ${PKG_DBDIR}.refcount
-FILES_SUBST+= PKG_REFCOUNT_DBDIR=${PKG_REFCOUNT_DBDIR:Q}
-
# PKG_USERS represents the users to create for the package. It is a
# space-separated list of elements of the form
#