pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files ... and another fix for the sam...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55ae0f3e2772
branches:  trunk
changeset: 503855:55ae0f3e2772
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Dec 01 14:31:24 2005 +0000

description:
... and another fix for the same problem ...

diffstat:

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

diffs (20 lines):

diff -r 972064389cd5 -r 55ae0f3e2772 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Dec 01 14:14:49 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Dec 01 14:31:24 2005 +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.403 2005/12/01 14:14:49 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.404 2005/12/01 14:31:24 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -1155,6 +1155,7 @@
                $line->log_error("A pkgsrc package must not depend on any outside package.");
        }
        ($fname = "${current_dir}/${path}") =~ s/^\.\.\/\.\.\//${pkgsrcdir}\//;
+       $fname =~ s,\$\{\.CURDIR\},.,;
        if (!-d $fname && !-f $fname) {
                $line->log_error("\"${path}\" does not exist.");
        }



Home | Main Index | Thread Index | Old Index