pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Back out changes made in 3.75, it's t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bebd36bed70f
branches:  trunk
changeset: 475272:bebd36bed70f
user:      salo <salo%pkgsrc.org@localhost>
date:      Thu May 13 10:46:01 2004 +0000

description:
Back out changes made in 3.75, it's too slow for lintpkgsrc.  Make it 3.76.

diffstat:

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

diffs (34 lines):

diff -r d3130f6f361e -r bebd36bed70f pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Thu May 13 10:04:09 2004 +0000
+++ b/pkgtools/pkglint/Makefile Thu May 13 10:46:01 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.188 2004/05/10 08:53:05 salo Exp $
+# $NetBSD: Makefile,v 1.189 2004/05/13 10:46:01 salo Exp $
 #
 
-DISTNAME=      pkglint-3.75
+DISTNAME=      pkglint-3.76
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r d3130f6f361e -r bebd36bed70f pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu May 13 10:04:09 2004 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu May 13 10:46:01 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.104 2004/05/10 08:53:05 salo Exp $
+# $NetBSD: pkglint.pl,v 1.105 2004/05/13 10:46:01 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 = `@MAKE@ show-var VARNAME=PKGNAME`;
+       $pkgname = $1 if ($tmp =~ /\nPKGNAME[+?]?=[ \t]*([^\n]+)\n/);
        $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