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 version 3.72.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb8c703eedfd
branches:  trunk
changeset: 473215:eb8c703eedfd
user:      seb <seb%pkgsrc.org@localhost>
date:      Sat Apr 17 17:26:40 2004 +0000

description:
Update to version 3.72.

Use more portable Cwd::cwd() instead of $ENV{'PWD'}

diffstat:

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

diffs (42 lines):

diff -r 107bb12ea8ae -r eb8c703eedfd pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sat Apr 17 17:08:37 2004 +0000
+++ b/pkgtools/pkglint/Makefile Sat Apr 17 17:26:40 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.183 2004/04/15 09:41:22 jmmv Exp $
+# $NetBSD: Makefile,v 1.184 2004/04/17 17:26:40 seb Exp $
 #
 
-DISTNAME=      pkglint-3.71
+DISTNAME=      pkglint-3.72
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 107bb12ea8ae -r eb8c703eedfd pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Apr 17 17:08:37 2004 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Apr 17 17:26:40 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.101 2004/04/15 09:41:22 jmmv Exp $
+# $NetBSD: pkglint.pl,v 1.102 2004/04/17 17:26:40 seb Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by Hubert Feyrer <hubertf%netbsd.org@localhost>,
@@ -22,6 +22,7 @@
 use Getopt::Std;
 use File::Basename;
 use FileHandle;
+use Cwd;
 
 $err = $warn = 0;
 $extrafile = $parenwarn = $committer = 1;      # -abc
@@ -84,7 +85,7 @@
 
 if (-e <$portdir/../../Packages.txt>) {
        if ($portdir eq ".") {
-               $category = basename(dirname($ENV{'PWD'}));
+               $category = basename(dirname(cwd()));
        } else {
                $category = basename(dirname($portdir));
        }



Home | Main Index | Thread Index | Old Index