pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Set PKG_REFCOUNT_DBDIR in the environment for the +...
details: https://anonhg.NetBSD.org/pkgsrc/rev/52fb433722fa
branches: trunk
changeset: 488629:52fb433722fa
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Feb 05 01:17:59 2005 +0000
description:
Set PKG_REFCOUNT_DBDIR in the environment for the +INSTALL script, just
like pkg_add(1) does in pkg_install-20050204.
diffstat:
mk/bsd.pkg.install.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 09064cdcd51c -r 52fb433722fa mk/bsd.pkg.install.mk
--- a/mk/bsd.pkg.install.mk Sat Feb 05 00:49:34 2005 +0000
+++ b/mk/bsd.pkg.install.mk Sat Feb 05 01:17:59 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.80 2005/02/03 23:29:08 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.81 2005/02/05 01:17:59 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -477,8 +477,11 @@
FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+PKG_REFCOUNT_DBDIR?= ${PKG_DBDIR}.refcount
+
INSTALL_SCRIPTS_ENV= PKG_PREFIX=${PREFIX}
INSTALL_SCRIPTS_ENV+= PKG_METADATA_DIR=${_PKG_DBDIR}/${PKGNAME}
+INSTALL_SCRIPTS_ENV+= PKG_REFCOUNT_DBDIR=${PKG_REFCOUNT_DBDIR}
.PHONY: pre-install-script post-install-script
Home |
Main Index |
Thread Index |
Old Index