summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-06-02 06:20:40 +0000
committerrh <rh@pkgsrc.org>2000-06-02 06:20:40 +0000
commit5834a7070ad7de7669b25e457230904fdbf01796 (patch)
treefd9dac46211616ea43d44cd89b78a7056ee3e468
parentd859221894fdc5bb99fb4a470a7e32db53181296 (diff)
downloadpkgsrc-5834a7070ad7de7669b25e457230904fdbf01796.tar.gz
Update pkglint to 2.09. Adds a check for deprecated USE_PKGLIBTOOL.
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl7
2 files changed, 8 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 6f775407d43..9cff41b964f 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2000/05/29 19:44:27 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.50 2000/06/02 06:20:40 rh Exp $
#
-DISTNAME= pkglint-2.08
+DISTNAME= pkglint-2.09
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 43b29caf8f5..a168dc321fb 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -12,7 +12,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.29 2000/04/05 23:34:43 hubertf Exp $
+# $NetBSD: pkglint.pl,v 1.30 2000/06/02 06:20:41 rh Exp $
#
# This version contains some changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org> and
@@ -688,6 +688,11 @@ sub checkmakefile {
if ($whole =~ /\nNO_CHECKSUM/) {
$seen_NO_CHECKSUM=1;
}
+ print "OK: checking USE_PKGLIBTOOL.\n" if ($verbose);
+ if ($whole =~ /\nUSE_PKGLIBTOOL/) {
+ &perror("WARN: use of USE_PKGLIBTOOL discouraged, ".
+ "use USE_LIBTOOL instead.");
+ }
#
# whole file: direct use of command names