summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-04-11 20:17:37 +0000
committerjschauma <jschauma@pkgsrc.org>2004-04-11 20:17:37 +0000
commit47f638d68cc521882396475d776b9def7f4791f4 (patch)
treeaacf0d96791066b48bf462308251decd684c1a57 /mk/bsd.pkg.mk
parente72d30f98680c1ddb73c1985f4ba3ebe583a4d3c (diff)
downloadpkgsrc-47f638d68cc521882396475d776b9def7f4791f4.tar.gz
egrep -x 'RE'
is the same as egrep '^RE$' Not all egrep's know the '-x' flag, so use the latter.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 0d55f53f5bb..a00849c57fe 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1438 2004/04/07 14:26:50 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1439 2004/04/11 20:17:37 jschauma Exp $
#
# This file is in the public domain.
#
@@ -2976,7 +2976,7 @@ _AIXLIB_AWK= \
do-shlib-handling:
.if ${SHLIB_HANDLING} == "YES"
${_PKG_SILENT}${_PKG_DEBUG} \
- sos=`${EGREP} -h -x '.*/lib[^/]+\.so' ${PLIST} || ${TRUE}`; \
+ sos=`${EGREP} -h '^.*/lib[^/]+\.so$$' ${PLIST} || ${TRUE}`; \
if [ "$$sos" != "" ]; then \
shlib_type=`${MAKE} ${MAKEFLAGS} show-shlib-type`; \
if [ "${SHLIB_PLIST_MODE}" = "0" ]; then \
@@ -2991,7 +2991,7 @@ do-shlib-handling:
else \
${RM} ${PLIST}.tmp ; \
fi ; \
- cnt=`${EGREP} -c -x '@exec[ ]*${LDCONFIG}' ${PLIST} || ${TRUE}`; \
+ cnt=`${EGREP} -c '^@exec[ ]*${LDCONFIG}$$' ${PLIST} || ${TRUE}`; \
if [ "${SHLIB_PLIST_MODE}" = "1" ]; then \
if [ $$cnt -eq 0 ]; then \
${ECHO} "@exec ${LDCONFIG}" >> ${PLIST}; \