summaryrefslogtreecommitdiff
path: root/pkgtools/revbump
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-04-13 18:58:17 +0000
committerwiz <wiz@pkgsrc.org>2006-04-13 18:58:17 +0000
commit3118d05b2b540519b40f9b805e79af1ffcbfcc64 (patch)
treee28bf6dcc9bda9502f1911821055552485b5a9b4 /pkgtools/revbump
parentf74702a428d4f297e0b661e158724f0b9082bb99 (diff)
downloadpkgsrc-3118d05b2b540519b40f9b805e79af1ffcbfcc64.tar.gz
finddepends: also look in options.mk files.
Welcome to 1.6\!
Diffstat (limited to 'pkgtools/revbump')
-rw-r--r--pkgtools/revbump/Makefile4
-rw-r--r--pkgtools/revbump/files/finddepends6
-rw-r--r--pkgtools/revbump/files/finddepends.18
3 files changed, 10 insertions, 8 deletions
diff --git a/pkgtools/revbump/Makefile b/pkgtools/revbump/Makefile
index 81401a1efa6..c30a1352ec6 100644
--- a/pkgtools/revbump/Makefile
+++ b/pkgtools/revbump/Makefile
@@ -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 --git a/pkgtools/revbump/files/finddepends b/pkgtools/revbump/files/finddepends
index fae5eebcd2f..f56c087d8b0 100644
--- a/pkgtools/revbump/files/finddepends
+++ b/pkgtools/revbump/files/finddepends
@@ -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 @@ use Getopt::Std;
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 @@ while ($pattern = pop @searchlist) {
print "\n";
@makefiles = <$PKGSRCDIR/*/*/Makefile*>;
+@optionfiles = <$PKGSRCDIR/*/*/options.mk>;
+push(@makefiles, @optionfiles);
for $makefile (@makefiles) {
# print "* reading $makefile\n";
diff --git a/pkgtools/revbump/files/finddepends.1 b/pkgtools/revbump/files/finddepends.1
index 4d43d307b75..9ae5c8710be 100644
--- a/pkgtools/revbump/files/finddepends.1
+++ b/pkgtools/revbump/files/finddepends.1
@@ -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 @@ Defaults to
.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