diff options
author | agc <agc@pkgsrc.org> | 1997-11-26 09:24:18 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-11-26 09:24:18 +0000 |
commit | 2c406d0ad38420d2ed08842f0bbf5b70cca99a80 (patch) | |
tree | 11a64fadd4c15dfc524ce4484e7726013fc19e3d /mk | |
parent | 1fa3c05f4ebdc1b43b6e2d9e086196fdf92af82b (diff) | |
download | pkgsrc-2c406d0ad38420d2ed08842f0bbf5b70cca99a80.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' \ |