diff options
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index ed47f1bd336..aa5ec0e228f 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.51 2000/06/21 23:28:27 wiz Exp $ +# $NetBSD: Makefile,v 1.52 2000/07/14 16:09:26 hubertf Exp $ # -DISTNAME= pkglint-2.10 +DISTNAME= pkglint-2.11 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 17f166ae6f0..c59ef4a5a96 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,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.31 2000/06/21 23:28:28 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.32 2000/07/14 16:09:26 hubertf Exp $ # # This version contains some changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org> and @@ -1126,10 +1126,8 @@ EOF # check port dir existence $k = (split(':', $k))[1]; - if ($osname ne "NetBSD") { - $k =~ s/\${PORTSDIR}/$ENV{'PORTSDIR'}/; - } - if (! -d $k) { + $k =~ s/\${PKGSRCDIR}/$ENV{'PKGSRCDIR'}/; + if (! -d "$portdir/$k") { &perror("WARN: no package directory $k ". "found, even though it is ". "listed in $j."); |