pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/revbump Make finddepends look in modules.mk, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ac0ffc773c2
branches:  trunk
changeset: 634004:9ac0ffc773c2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 06 12:41:46 2014 +0000

description:
Make finddepends look in modules.mk, plugins.mk, and schemas.mk as well.
Suggested by obache.
Bump version.

diffstat:

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

diffs (75 lines):

diff -r eaa1148ff331 -r 9ac0ffc773c2 pkgtools/revbump/Makefile
--- a/pkgtools/revbump/Makefile Tue May 06 12:26:53 2014 +0000
+++ b/pkgtools/revbump/Makefile Tue May 06 12:41:46 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2014/03/03 02:46:28 obache Exp $
+# $NetBSD: Makefile,v 1.26 2014/05/06 12:41:46 wiz Exp $
 
-PKGNAME=               revbump-2.5
+PKGNAME=               revbump-2.6
 CATEGORIES=            pkgtools
 
 MAINTAINER=            wiz%NetBSD.org@localhost
diff -r eaa1148ff331 -r 9ac0ffc773c2 pkgtools/revbump/files/finddepends
--- a/pkgtools/revbump/files/finddepends        Tue May 06 12:26:53 2014 +0000
+++ b/pkgtools/revbump/files/finddepends        Tue May 06 12:41:46 2014 +0000
@@ -1,9 +1,9 @@
 #!@PERL@ -w
 # -*- perl -*-
 #
-# $NetBSD: finddepends,v 1.8 2013/10/21 10:43:28 wiz Exp $
+# $NetBSD: finddepends,v 1.9 2014/05/06 12:41:46 wiz Exp $
 #
-# Copyright (c) 2006 The NetBSD Foundation, Inc.
+# Copyright (c) 2006, 2014 The NetBSD Foundation, Inc.
 #
 # This code was originally contributed to the NetBSD Foundation, Inc.
 # by Thomas Klausner <wiz%NetBSD.org@localhost>.
@@ -108,8 +108,14 @@
 @makefiles = <$PKGSRCDIR/*/*/Makefile*>;
 @optionfiles = <$PKGSRCDIR/*/*/options.mk>;
 push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/modules.mk>;
+push(@makefiles, @optionfiles);
 @optionfiles = <$PKGSRCDIR/*/*/mozilla-common.mk>;
 push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/plugins.mk>;
+push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/schemas.mk>;
+push(@makefiles, @optionfiles);
 
 for $makefile (@makefiles) {
 #    print "* reading $makefile\n";
diff -r eaa1148ff331 -r 9ac0ffc773c2 pkgtools/revbump/files/revbump.1
--- a/pkgtools/revbump/files/revbump.1  Tue May 06 12:26:53 2014 +0000
+++ b/pkgtools/revbump/files/revbump.1  Tue May 06 12:41:46 2014 +0000
@@ -1,6 +1,6 @@
-.\"    $NetBSD: revbump.1,v 1.17 2014/05/05 04:38:53 obache Exp $
+.\"    $NetBSD: revbump.1,v 1.18 2014/05/06 12:41:46 wiz Exp $
 .\"
-.\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013, 2014 The NetBSD Foundation, Inc.
 .\"
 .\" This code was originally contributed to the NetBSD Foundation, Inc.
 .\" by Julio Merino <jmmv%NetBSD.org@localhost> and Thomas Klausner <wiz%NetBSD.org@localhost>.
@@ -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 October 21, 2013
+.Dd May 6, 2014
 .Dt REVBUMP 1
 .Os
 .Sh NAME
@@ -87,9 +87,9 @@
 cd /usr/pkgsrc
 finddepends category/package \*[Gt] allbump
 grep buildlink3.mk allbump | sed 's/.buildlink3.mk//' \*[Gt] bl3bump
-grep -e Makefile.common -e mozilla-common.mk allbump > commonbump
+grep -e Makefile.common -e mk$ allbump > commonbump
 [read commonbump and replace entries with all packages including the
- corresponding Makefile.common or mozilla-common.mk file]
+ corresponding Makefile.common or *.mk file]
 cat allbump commonbump | sed 's,/[^/]*$,,' | sort -u \*[Gt] makebump
 revbump \*[Lt] makebump \*[Gt] makebump.manual
 [if a package is listed in makebump.manual outside a line



Home | Main Index | Thread Index | Old Index