pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk Allow "=" characters to appear in a line that ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b93af2a44f1
branches:  trunk
changeset: 506438:6b93af2a44f1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jan 15 23:33:23 2006 +0000

description:
Allow "=" characters to appear in a line that comments out a package in a
category Makefile. Adjusted the other regular expressions to express more
clearly what is meant.

diffstat:

 mk/bulk/printdepends |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f70fc9d5eabb -r 6b93af2a44f1 mk/bulk/printdepends
--- a/mk/bulk/printdepends      Sun Jan 15 23:30:00 2006 +0000
+++ b/mk/bulk/printdepends      Sun Jan 15 23:33:23 2006 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: printdepends,v 1.22 2005/12/31 02:06:10 minskim Exp $
+# $NetBSD: printdepends,v 1.23 2006/01/15 23:33:23 rillig Exp $
 #
 
 # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -125,7 +125,7 @@
 
 case ${PKGLIST} in
 "")    # List of all packages, from pkgsrc/*/Makefile
-       list=`${GREP} '^[[:space:]]*'SUBDIR */Makefile | ${GREP} -v regress/ | ${SED} 's,/Makefile.*=[[:space:]]*,/,'`
+       list=`${GREP} '^SUBDIR+=' */Makefile | ${GREP} -v '^regress/' | ${SED} -e 's,/Makefile:SUBDIR+=[[:space:]]*,/,' -e 's,#.*,,'`
        ;;
 *)     list="${PKGLIST}"
        ;;



Home | Main Index | Thread Index | Old Index