pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/revbump finddepends: also look in options.mk ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fd97045337e
branches:  trunk
changeset: 511376:3fd97045337e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 13 18:58:17 2006 +0000

description:
finddepends: also look in options.mk files.
Welcome to 1.6\!

diffstat:

 pkgtools/revbump/Makefile            |  4 ++--
 pkgtools/revbump/files/finddepends   |  6 ++++--
 pkgtools/revbump/files/finddepends.1 |  8 ++++----
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 55b1385944b9 -r 3fd97045337e pkgtools/revbump/Makefile
--- a/pkgtools/revbump/Makefile Thu Apr 13 18:57:02 2006 +0000
+++ b/pkgtools/revbump/Makefile Thu Apr 13 18:58:17 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2006/04/06 06:25:46 reed Exp $
+# $NetBSD: Makefile,v 1.9 2006/04/13 18:58:17 wiz Exp $
 #
 
-DISTNAME=              revbump-1.5
+DISTNAME=              revbump-1.6
 CATEGORIES=            pkgtools
 MASTER_SITES=          # empty
 DISTFILES=             # empty
diff -r 55b1385944b9 -r 3fd97045337e pkgtools/revbump/files/finddepends
--- a/pkgtools/revbump/files/finddepends        Thu Apr 13 18:57:02 2006 +0000
+++ b/pkgtools/revbump/files/finddepends        Thu Apr 13 18:58:17 2006 +0000
@@ -1,7 +1,7 @@
 #!@PERL@ -w
 # -*- perl -*-
 #
-# $NetBSD: finddepends,v 1.3 2006/03/09 17:24:48 wiz Exp $
+# $NetBSD: finddepends,v 1.4 2006/04/13 18:58:17 wiz Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 #
@@ -40,7 +40,7 @@
 
 my ($PKGSRCDIR, $arg, $bl3, %bl3content, @bl3files, @bl3result,
     $content, $found, $key, $makefile, @makefiles, %opt,
-    $pattern, @searchlist);
+    @optionfiles, $pattern, @searchlist);
 
 $PKGSRCDIR = $ENV{PKGSRCDIR};
 if (! $PKGSRCDIR) {
@@ -106,6 +106,8 @@
 print "\n";
 
 @makefiles = <$PKGSRCDIR/*/*/Makefile*>;
+@optionfiles = <$PKGSRCDIR/*/*/options.mk>;
+push(@makefiles, @optionfiles);
 
 for $makefile (@makefiles) {
 #    print "* reading $makefile\n";
diff -r 55b1385944b9 -r 3fd97045337e pkgtools/revbump/files/finddepends.1
--- a/pkgtools/revbump/files/finddepends.1      Thu Apr 13 18:57:02 2006 +0000
+++ b/pkgtools/revbump/files/finddepends.1      Thu Apr 13 18:58:17 2006 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: finddepends.1,v 1.3 2006/03/07 07:27:26 wiz Exp $
+.\"    $NetBSD: finddepends.1,v 1.4 2006/04/13 18:58:17 wiz Exp $
 .\"
 .\" Copyright (c) 2006 The NetBSD Foundation, Inc.
 .\"
@@ -31,7 +31,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 7, 2006
+.Dd April 13, 2006
 .Dt FINDDEPENDS 1
 .Os
 .Sh NAME
@@ -74,8 +74,8 @@
 .Dl finddepends security/libtasn1
 .Pp
 would first output all buildlink3.mk files that include
-security/libtasn1, and then all Makefiles that include any of the
-found buildlink3.mk files.
+security/libtasn1, and then all Makefiles and options.mk files that
+include any of the found buildlink3.mk files.
 .Sh SEE ALSO
 .Xr blbump 1 ,
 .Xr revbump 1



Home | Main Index | Thread Index | Old Index