summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc>1998-06-23 10:35:56 +0000
committeragc <agc>1998-06-23 10:35:56 +0000
commit93b6a6d0227758cde5bc689987b16b1d385ed52f (patch)
tree10a7c35a1a2cf8a7ffb2f574bffcc14a0690315d /mk
parentc45fbe9451c1cf2c3bfa31bea213ff0a9c2798e7 (diff)
downloadpkgsrc-93b6a6d0227758cde5bc689987b16b1d385ed52f.tar.gz
Use -h when using egrep(1) to find the manual pages from ${PLIST_SRC},
as ${PLIST_SRC} may be more than one file, and the ${PLIST_SRC} filenames only get in the way.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index bf7a78a038c..a09bfaef6bf 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.104 1998/06/22 14:47:49 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.105 1998/06/23 10:35:56 agc Exp $
#
# This file is in the public domain.
#
@@ -1014,7 +1014,7 @@ _PORT_USE: .USE
${SCRIPTDIR}/${.TARGET:S/^real-/post-/}; \
fi
.if make(real-install)
- @(newmanpages=`/usr/bin/egrep \
+ @(newmanpages=`/usr/bin/egrep -h \
'^([^/]*/)*man/([^/]*/)?(man[1-9ln]/.*\.[1-9ln]|cat[1-9ln]/.*\.0)(\.gz)?$$' \
${PLIST_SRC} || /usr/bin/true`; \
if [ X"${MANCOMPRESSED}" != X"" -a X"${MANZ}" = X"" ]; then \