pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Update to 3.71: print a fatal error i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad10dfd75089
branches: trunk
changeset: 472992:ad10dfd75089
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Thu Apr 15 09:41:22 2004 +0000
description:
Update to 3.71: print a fatal error if there are any direct dependencies to
the -dirs packages. Suggest usage of USE_DIRS instead.
diffstat:
pkgtools/pkglint/Makefile | 4 ++--
pkgtools/pkglint/files/pkglint.pl | 9 ++++++++-
2 files changed, 10 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 79a5f4ee651e -r ad10dfd75089 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Thu Apr 15 09:33:30 2004 +0000
+++ b/pkgtools/pkglint/Makefile Thu Apr 15 09:41:22 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.182 2004/04/12 08:52:14 jmmv Exp $
+# $NetBSD: Makefile,v 1.183 2004/04/15 09:41:22 jmmv Exp $
#
-DISTNAME= pkglint-3.70
+DISTNAME= pkglint-3.71
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 79a5f4ee651e -r ad10dfd75089 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Apr 15 09:33:30 2004 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Apr 15 09:41:22 2004 +0000
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.100 2004/04/12 08:52:14 jmmv Exp $
+# $NetBSD: pkglint.pl,v 1.101 2004/04/15 09:41:22 jmmv Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf%netbsd.org@localhost>,
@@ -1329,6 +1329,13 @@
" USE_GMAKE.");
}
+ # check direct dependencies on -dirs packages
+ if ($l =~ /^([-a-zA-Z0-9]+)-dirs[-><=]+(.*)/) {
+ &perror("WARN: dependency to $1-dirs ".
+ "listed in $j. Consider using".
+ " USE_DIRS+=$1-$2.");
+ }
+
# check pkg dir existence
$k = (split(':', $k))[1];
$k =~ s/\${PKGSRCDIR}/$ENV{'PKGSRCDIR'}/;
Home |
Main Index |
Thread Index |
Old Index