diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-01-25 16:48:53 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-01-25 16:48:53 +0000 |
commit | fb5121604f236626c67f60f79034965f7c2e7e01 (patch) | |
tree | 68f3f8445338b43c859b9cf0e83815a488e7a0f0 /mk | |
parent | 95cf710e64b7b689f4d29c57f19c8f10f09f7e0e (diff) | |
download | pkgsrc-fb5121604f236626c67f60f79034965f7c2e7e01.tar.gz |
Explicitly use -g to avoid relying on default behavior.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/alternatives.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/alternatives.mk b/mk/alternatives.mk index b772524adae..19ca4982463 100644 --- a/mk/alternatives.mk +++ b/mk/alternatives.mk @@ -1,4 +1,4 @@ -# $NetBSD: alternatives.mk,v 1.3 2005/01/25 16:29:16 jmmv Exp $ +# $NetBSD: alternatives.mk,v 1.4 2005/01/25 16:48:53 jmmv Exp $ # # This Makefile fragment handles the alternatives system, registering a # package in the database. @@ -28,7 +28,7 @@ ${WRKDIR}/.altinstall: ${ALTERNATIVES_SRC} ${SED} ${FILES_SUBST_SED} <${ALTERNATIVES_SRC}; \ ${ECHO} 'EOF'; \ ${ECHO} 'if ${TEST} -x ${PKG_ALTERNATIVES}; then'; \ - ${ECHO} '${PKG_ALTERNATIVES} -s register ./+ALTERNATIVES'; \ + ${ECHO} '${PKG_ALTERNATIVES} -gs register ./+ALTERNATIVES'; \ ${ECHO} 'fi'; \ ${ECHO} 'fi'; \ } >${WRKDIR}/.altinstall @@ -36,7 +36,7 @@ ${WRKDIR}/.altinstall: ${ALTERNATIVES_SRC} ${WRKDIR}/.altdeinstall: ${ALTERNATIVES_SRC} @{ ${ECHO} 'if ${TEST} $${STAGE} = "DEINSTALL"; then'; \ ${ECHO} 'if ${TEST} -x ${PKG_ALTERNATIVES}; then'; \ - ${ECHO} '${PKG_ALTERNATIVES} -s unregister ./+ALTERNATIVES'; \ + ${ECHO} '${PKG_ALTERNATIVES} -gs unregister ./+ALTERNATIVES'; \ ${ECHO} 'fi'; \ ${ECHO} '${RM} -f ./+ALTERNATIVES'; \ ${ECHO} 'fi'; \ |