pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Move the default directory for the reference counts...
details: https://anonhg.NetBSD.org/pkgsrc/rev/084c0a2521bb
branches: trunk
changeset: 488357:084c0a2521bb
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jan 28 18:32:40 2005 +0000
description:
Move the default directory for the reference counts database outside
of ${PKG_DBDIR} to avoid problems with the package tools thinking that
it is a bad package. The default directory is ${PKG_DBDIR} with
".refcount" appended to the name. This may be set explicitly through
PKG_REFCOUNT_DBDIR in /etc/mk.conf (bootstrap users may want to do
this, although the default value should do the right thing).
diffstat:
mk/bsd.pkg.install.mk | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 04963e1e74f4 -r 084c0a2521bb mk/bsd.pkg.install.mk
--- a/mk/bsd.pkg.install.mk Fri Jan 28 18:05:34 2005 +0000
+++ b/mk/bsd.pkg.install.mk Fri Jan 28 18:32:40 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.76 2005/01/28 08:17:53 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.77 2005/01/28 18:32:40 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -80,10 +80,11 @@
# Database directory for reference-counted package objects. Subdirectories
# represent different classes of package objects, e.g. dirs, users,
-# group, etc.
+# 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_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
Home |
Main Index |
Thread Index |
Old Index