summaryrefslogtreecommitdiff
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
commit6a8b3b0612c7d81c3785db37165e48af01b90930 (patch)
treeaacf0d96791066b48bf462308251decd684c1a57
parenta45a263e878546fece05733e0187b1cd23f21cf2 (diff)
downloadpkgsrc-6a8b3b0612c7d81c3785db37165e48af01b90930.tar.gz
egrep -x 'RE'
is the same as egrep '^RE$' Not all egrep's know the '-x' flag, so use the latter.
-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}; \