diff options
author | grant <grant> | 2002-06-27 01:55:21 +0000 |
---|---|---|
committer | grant <grant> | 2002-06-27 01:55:21 +0000 |
commit | 7441a2b8fde5ddc48cca24e9185cf80e4ab215ed (patch) | |
tree | 9ebf78382d20f25f052ceec30cedcedcb04f969a | |
parent | 293b2ea3887b4104ff9e4e6cd246106a3d91c516 (diff) | |
download | pkgsrc-7441a2b8fde5ddc48cca24e9185cf80e4ab215ed.tar.gz |
pass PKG_SYSCONFDIR when calling {PRE,POST}-INSTALL.
-rw-r--r-- | mk/bsd.pkg.install.mk | 6 |
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} | \ |