summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2004-05-10 08:53:05 +0000
committersalo <salo@pkgsrc.org>2004-05-10 08:53:05 +0000
commit6fbe8cb2a74c544750e5660cfcf48022f9c0e95e (patch)
tree7eda9003e2bbe0276588e35b42bd427e1356cd76 /pkgtools
parent1b2d754678a77170ff067e03edbad5b4ece823e0 (diff)
downloadpkgsrc-6fbe8cb2a74c544750e5660cfcf48022f9c0e95e.tar.gz
Welcome to 3.75.
Use real value of PKGNAME, suppress bogus warnings when PKGNAME is created from altering DISTNAME with make modifiers (e.g., S or C).
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 86c3dba5e1d..8c9924ac8bc 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.187 2004/05/10 00:19:43 atatat Exp $
+# $NetBSD: Makefile,v 1.188 2004/05/10 08:53:05 salo Exp $
#
-DISTNAME= pkglint-3.74
+DISTNAME= pkglint-3.75
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 8bb28aea4f3..9e0631fb436 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -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.103 2004/04/24 00:17:19 reed Exp $
+# $NetBSD: pkglint.pl,v 1.104 2004/05/10 08:53:05 salo Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org>,
@@ -1069,7 +1069,7 @@ EOF
# check DISTFILES and related items.
$distname = $1 if ($tmp =~ /\nDISTNAME[+?]?=[ \t]*([^\n]+)\n/);
- $pkgname = $1 if ($tmp =~ /\nPKGNAME[+?]?=[ \t]*([^\n]+)\n/);
+ $pkgname = `@MAKE@ show-var VARNAME=PKGNAME`;
$svrpkgname = $1 if ($tmp =~ /\nSVR4_PKGNAME[+?]?=[ \t]*([^\n]+)\n/);
$extractsufx = $1 if ($tmp =~ /\nEXTRACT_SUFX[+?]?=[ \t]*([^\n]+)\n/);
$distfiles = $1 if ($tmp =~ /\nDISTFILES[+?]?=[ \t]*([^\n]+)\n/);