diff options
author | jlam <jlam@pkgsrc.org> | 2006-04-29 04:36:13 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-04-29 04:36:13 +0000 |
commit | ebe8e867eb2160e0aa1012775761f7ac87dd3f36 (patch) | |
tree | ad1acbc95b446dc77725be63a777bbbeefa2a610 /mk | |
parent | 1685213908e8ab61448dfdd911786c54e101a259 (diff) | |
download | pkgsrc-ebe8e867eb2160e0aa1012775761f7ac87dd3f36.tar.gz |
Ensure that @VAR@ placeholders in usergroupfuncs are properly substituted
for by running it through a separate FILES_SUBST_SED filter. This fixes
the case where the user wasn't being created if USERGROUP_PHASE was
defined.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/install/bsd.pkginstall.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/install/bsd.pkginstall.mk b/mk/install/bsd.pkginstall.mk index 279d2d811c6..0a8340d4872 100644 --- a/mk/install/bsd.pkginstall.mk +++ b/mk/install/bsd.pkginstall.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkginstall.mk,v 1.52 2006/04/29 03:54:10 jlam Exp $ +# $NetBSD: bsd.pkginstall.mk,v 1.53 2006/04/29 04:36:13 jlam Exp $ # # This Makefile fragment is included by bsd.pkg.mk and implements the # common INSTALL/DEINSTALL scripts framework. To use the pkginstall @@ -232,8 +232,8 @@ ${_INSTALL_USERGROUP_FILE}: \ ${INSTALL_USERGROUPFUNCS_FILE} ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H} ${_PKG_SILENT}${_PKG_DEBUG} \ - ${SED} -e "/^# platform-specific adduser\/addgroup functions/r${_INSTALL_USERGROUPFUNCS_FILE}" ${FILES_SUBST_SED} \ - ../../mk/install/usergroup > ${.TARGET} + ${SED} -e "/^# platform-specific adduser\/addgroup functions/r${_INSTALL_USERGROUPFUNCS_FILE}" ../../mk/install/usergroup | \ + ${SED} ${FILES_SUBST_SED} > ${.TARGET} ${_PKG_SILENT}${_PKG_DEBUG} \ if ${_ZERO_FILESIZE_P} ${_INSTALL_USERGROUP_DATAFILE}; then \ ${RM} -f ${.TARGET}; \ |