pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkgfind Bump to 20050804:
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce41e431fd2f
branches: trunk
changeset: 497812:ce41e431fd2f
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Aug 04 22:21:33 2005 +0000
description:
Bump to 20050804:
When using the -M flag, look in Makefile and Makefile.common files.
Ok'ed by Peter Postma.
diffstat:
pkgtools/pkgfind/Makefile | 4 ++--
pkgtools/pkgfind/files/pkgfind.c | 8 ++++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r b2a42cccb87d -r ce41e431fd2f pkgtools/pkgfind/Makefile
--- a/pkgtools/pkgfind/Makefile Thu Aug 04 21:37:33 2005 +0000
+++ b/pkgtools/pkgfind/Makefile Thu Aug 04 22:21:33 2005 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2005/05/08 15:26:36 peter Exp $
+# $NetBSD: Makefile,v 1.13 2005/08/04 22:21:33 xtraeme Exp $
-DISTNAME= pkgfind-20050508
+DISTNAME= pkgfind-20050804
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r b2a42cccb87d -r ce41e431fd2f pkgtools/pkgfind/files/pkgfind.c
--- a/pkgtools/pkgfind/files/pkgfind.c Thu Aug 04 21:37:33 2005 +0000
+++ b/pkgtools/pkgfind/files/pkgfind.c Thu Aug 04 22:21:33 2005 +0000
@@ -160,8 +160,12 @@
continue;
if (search != NULL) {
(void)strncat(tmp, "/Makefile", sizeof(tmp));
- if (getstring(tmp, search, &text) == 0)
- continue;
+ if (getstring(tmp, search, &text) == 0) {
+ (void)strncat(tmp, ".common",
+ sizeof(tmp));
+ if (getstring(tmp, search, &text) == 0)
+ continue;
+ }
} else {
text = list[j]->d_name;
}
Home |
Main Index |
Thread Index |
Old Index