diff options
author | abs <abs@pkgsrc.org> | 2011-09-08 20:17:15 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2011-09-08 20:17:15 +0000 |
commit | 1ad19bede674339968de3b62189eabb21ed3f511 (patch) | |
tree | 562e841d2aad3c3bded8284d931962beaa26901d /mk/pkginstall | |
parent | 8a210d224e39e7014f50e5719fbed8aaf7880958 (diff) | |
download | pkgsrc-1ad19bede674339968de3b62189eabb21ed3f511.tar.gz |
Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -i
to santise environment
Diffstat (limited to 'mk/pkginstall')
-rw-r--r-- | mk/pkginstall/bsd.pkginstall.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk index 2a4ada9a68e..0eea934ee72 100644 --- a/mk/pkginstall/bsd.pkginstall.mk +++ b/mk/pkginstall/bsd.pkginstall.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkginstall.mk,v 1.54 2011/04/30 23:58:29 dholland Exp $ +# $NetBSD: bsd.pkginstall.mk,v 1.55 2011/09/08 20:17:16 abs Exp $ # # This Makefile fragment is included by bsd.pkg.mk and implements the # common INSTALL/DEINSTALL scripts framework. To use the pkginstall @@ -331,7 +331,7 @@ pre-install: create-usergroup .endif _INSTALL_USERGROUP_CHECK= \ - ${SETENV} PERL5=${PERL5:Q} \ + ${PKGSRC_SETENV} PERL5=${PERL5:Q} \ ${SH} ${PKGSRCDIR}/mk/pkginstall/usergroup-check .PHONY: create-usergroup @@ -772,7 +772,7 @@ install-script-data-info-files: >> ${INSTALL_FILE} ;; \ esac; \ done; \ - cd ${PKG_DB_TMPDIR} && ${SETENV} ${INSTALL_SCRIPTS_ENV} \ + cd ${PKG_DB_TMPDIR} && ${PKGSRC_SETENV} ${INSTALL_SCRIPTS_ENV} \ ${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} \ UNPACK +INFO_FILES; \ fi @@ -1125,7 +1125,7 @@ pre-install-script: ${RUN} \ if ${TEST} -x ${INSTALL_FILE}; then \ ${STEP_MSG} "Running PRE-INSTALL script actions"; \ - cd ${PKG_DB_TMPDIR} && ${SETENV} ${INSTALL_SCRIPTS_ENV} \ + cd ${PKG_DB_TMPDIR} && ${PKGSRC_SETENV} ${INSTALL_SCRIPTS_ENV} \ ${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} \ PRE-INSTALL; \ fi @@ -1134,7 +1134,7 @@ post-install-script: ${RUN} \ if ${TEST} -x ${INSTALL_FILE}; then \ ${STEP_MSG} "Running POST-INSTALL script actions"; \ - cd ${PKG_DB_TMPDIR} && ${SETENV} ${INSTALL_SCRIPTS_ENV} \ + cd ${PKG_DB_TMPDIR} && ${PKGSRC_SETENV} ${INSTALL_SCRIPTS_ENV} \ ${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} \ POST-INSTALL; \ fi |