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 pkglint 3.67: catch depreca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2bcfb82af4f
branches:  trunk
changeset: 466661:a2bcfb82af4f
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Jan 22 08:09:11 2004 +0000

description:
update to pkglint 3.67: catch deprecated USE_GMAKE.

diffstat:

 pkgtools/pkglint/Makefile         |  4 ++--
 pkgtools/pkglint/files/pkglint.pl |  7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r 694a2c204410 -r a2bcfb82af4f pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Thu Jan 22 08:02:15 2004 +0000
+++ b/pkgtools/pkglint/Makefile Thu Jan 22 08:09:11 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.176 2004/01/20 12:23:57 agc Exp $
+# $NetBSD: Makefile,v 1.177 2004/01/22 08:09:11 grant Exp $
 #
 
-DISTNAME=      pkglint-3.66
+DISTNAME=      pkglint-3.67
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 694a2c204410 -r a2bcfb82af4f pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Jan 22 08:02:15 2004 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Jan 22 08:09:11 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.96 2004/01/20 12:23:58 agc Exp $
+# $NetBSD: pkglint.pl,v 1.97 2004/01/22 08:09:11 grant Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by Hubert Feyrer <hubertf%netbsd.org@localhost>,
@@ -823,6 +823,11 @@
                &perror("FATAL: use of IGNORE deprecated, ".
                        "use PKG_FAIL_REASON or PKG_SKIP_REASON instead.");
        }
+       print "OK: checking USE_GMAKE.\n" if ($verbose);
+       if ($whole =~ /\nUSE_GMAKE/) {
+               &perror("FATAL: use of USE_GMAKE deprecated, ".
+                       "use USE_GNU_TOOLS+=make instead.");
+       }
        print "OK: checking for MKDIR.\n" if ($verbose);
        if ($whole =~ m|\${MKDIR}.*(\${PREFIX}[/0-9a-zA-Z\${}]*)|) {
                &perror("WARN: \${MKDIR} $1: consider using INSTALL_*_DIR");



Home | Main Index | Thread Index | Old Index