summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-06-27 01:55:21 +0000
committergrant <grant@pkgsrc.org>2002-06-27 01:55:21 +0000
commitb3dbf2fad1dbc2e8917c12c1476974ea1437aa71 (patch)
tree9ebf78382d20f25f052ceec30cedcedcb04f969a /mk
parentcd99e0fe847a0479fde65ff2163f62803e0aec17 (diff)
downloadpkgsrc-b3dbf2fad1dbc2e8917c12c1476974ea1437aa71.tar.gz
pass PKG_SYSCONFDIR when calling {PRE,POST}-INSTALL.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.install.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk
index 32c3dca426a..b2a45ba038e 100644
--- a/mk/bsd.pkg.install.mk
+++ b/mk/bsd.pkg.install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.21 2002/06/27 00:54:30 lukem Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.22 2002/06/27 01:55:21 grant Exp $
#
# This Makefile fragment is included by package Makefiles to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -212,10 +212,10 @@ FILES_SUBST+= USERADD=${USERADD:Q}
FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
pre-install-script: generate-install-scripts
- PKG_PREFIX=${PREFIX} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
+ PKG_PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
post-install-script:
- PKG_PREFIX=${PREFIX} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+ PKG_PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
generate-install-scripts:
${_PKG_SILENT}${_PKG_DEBUG}${CAT} ${DEINSTALL_SRC} | \