diff options
author | agc <agc> | 1997-11-26 09:24:18 +0000 |
---|---|---|
committer | agc <agc> | 1997-11-26 09:24:18 +0000 |
commit | e33ec51525ba269c4ce7aa494cceacbaef2c47a6 (patch) | |
tree | 11a64fadd4c15dfc524ce4484e7726013fc19e3d /mk | |
parent | 9772bf0348229c30167d9e18c192e3ff681154ce (diff) | |
download | pkgsrc-e33ec51525ba269c4ce7aa494cceacbaef2c47a6.tar.gz |
Fix missing backslash when gzipping manual pages.
If we're going to go to the bother of defining LDCONFIG, we might as
well use it.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 | ||||
-rw-r--r-- | mk/bsd.port.mk | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3fd1cdd04f0..7f5223de499 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $NetBSD: bsd.pkg.mk,v 1.21 1997/11/22 04:20:49 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.22 1997/11/26 09:24:18 agc Exp $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. @@ -1617,7 +1617,7 @@ lib-depends: else \ target=${DEPENDS_TARGET}; \ fi; \ - if /sbin/ldconfig -r | ${GREP} -q -e "-l$$lib"; then \ + if ${LDCONFIG} -r | ${GREP} -q -e "-l$$lib"; then \ ${ECHO_MSG} "===> ${PKGNAME} depends on shared library: $$lib - found"; \ else \ ${ECHO_MSG} "===> ${PKGNAME} depends on shared library: $$lib - not found"; \ @@ -1864,7 +1864,7 @@ ${PLIST}: ${PLIST_SRC} ${ECHO} "Package must care for making ${PLIST}!" ; \ fi .if defined(MANZ) - @if [ ! -z "${PLIST_SRC}" ] ; then + @if [ ! -z "${PLIST_SRC}" ] ; then \ ${CAT} ${PLIST_SRC} | ${SED} \ -e '/man\/man.*[^g][^z]$$/s/$$/.gz/g' \ -e '/man\/cat.*[^g][^z]$$/s/$$/.gz/g' \ diff --git a/mk/bsd.port.mk b/mk/bsd.port.mk index c37e7252bc2..a1f3878fc91 100644 --- a/mk/bsd.port.mk +++ b/mk/bsd.port.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $NetBSD: bsd.port.mk,v 1.21 1997/11/22 04:20:49 hubertf Exp $ +# $NetBSD: bsd.port.mk,v 1.22 1997/11/26 09:24:18 agc Exp $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. @@ -1617,7 +1617,7 @@ lib-depends: else \ target=${DEPENDS_TARGET}; \ fi; \ - if /sbin/ldconfig -r | ${GREP} -q -e "-l$$lib"; then \ + if ${LDCONFIG} -r | ${GREP} -q -e "-l$$lib"; then \ ${ECHO_MSG} "===> ${PKGNAME} depends on shared library: $$lib - found"; \ else \ ${ECHO_MSG} "===> ${PKGNAME} depends on shared library: $$lib - not found"; \ @@ -1864,7 +1864,7 @@ ${PLIST}: ${PLIST_SRC} ${ECHO} "Package must care for making ${PLIST}!" ; \ fi .if defined(MANZ) - @if [ ! -z "${PLIST_SRC}" ] ; then + @if [ ! -z "${PLIST_SRC}" ] ; then \ ${CAT} ${PLIST_SRC} | ${SED} \ -e '/man\/man.*[^g][^z]$$/s/$$/.gz/g' \ -e '/man\/cat.*[^g][^z]$$/s/$$/.gz/g' \ |