pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Use egrep instead of relying on GNU grep...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8fa1f2585d4
branches:  trunk
changeset: 466078:d8fa1f2585d4
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Jan 11 06:50:58 2004 +0000

description:
Use egrep instead of relying on GNU grep features.  Fixes populating the
buildlink directory on Solaris, which doesn't use GNU grep.

diffstat:

 mk/buildlink3/bsd.buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4a5e80c5527d -r d8fa1f2585d4 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Sun Jan 11 06:29:38 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Sun Jan 11 06:50:58 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.46 2004/01/11 04:02:52 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.47 2004/01/11 06:50:58 jlam Exp $
 #
 # An example package buildlink3.mk file:
 #
@@ -455,7 +455,7 @@
 BUILDLINK_FILES_CMD.${_pkg_}?=                                         \
        ${_BLNK_PKG_INFO.${_pkg_}} -f ${BUILDLINK_PKGNAME.${_pkg_}} |   \
        ${SED} -n '/File:/s/^[  ]*File:[        ]*//p' |                \
-       ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)'
+       ${EGREP} '(include.*/|lib.*/lib[^/]*$$)'
 .  endif
 
 # _BLNK_FILES_CMD.<pkg> combines BUILDLINK_FILES_CMD.<pkg> and



Home | Main Index | Thread Index | Old Index