From b3dbf2fad1dbc2e8917c12c1476974ea1437aa71 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 27 Jun 2002 01:55:21 +0000 Subject: pass PKG_SYSCONFDIR when calling {PRE,POST}-INSTALL. --- mk/bsd.pkg.install.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mk') 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} | \ -- cgit v1.2.3