pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Welcome to 3.75.
details: https://anonhg.NetBSD.org/pkgsrc/rev/36b3321deaa2
branches: trunk
changeset: 475112:36b3321deaa2
user: salo <salo%pkgsrc.org@localhost>
date: Mon May 10 08:53:05 2004 +0000
description:
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:
pkgtools/pkglint/Makefile | 4 ++--
pkgtools/pkglint/files/pkglint.pl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 7fdfd436e0e0 -r 36b3321deaa2 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Mon May 10 06:47:09 2004 +0000
+++ b/pkgtools/pkglint/Makefile Mon May 10 08:53:05 2004 +0000
@@ -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 -r 7fdfd436e0e0 -r 36b3321deaa2 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Mon May 10 06:47:09 2004 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Mon May 10 08:53:05 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.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@localhost>,
@@ -1069,7 +1069,7 @@
# 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/);
Home |
Main Index |
Thread Index |
Old Index