summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorabs <abs>1999-12-22 22:07:29 +0000
committerabs <abs>1999-12-22 22:07:29 +0000
commita5dde5ec0e48d249353befa55b5847a55e1f0c39 (patch)
tree51ed9884b2b5f69c20842d370eb816af2a376b03 /pkgtools
parent465ba948e9c730424f52fe7047ebaf1945dd8a01 (diff)
downloadpkgsrc-a5dde5ec0e48d249353befa55b5847a55e1f0c39.tar.gz
If we find a 'distfiles' directory in what we have been told only contains
binary packages, "Move on... move on... move on" (even if it offers to tell you about its mother).
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rwxr-xr-xpkgtools/pkglint/files/lintpkgsrc.pl6
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index b601057f00b..13899613dd8 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 1999/12/22 21:37:57 abs Exp $
+# $NetBSD: Makefile,v 1.29 1999/12/22 22:07:29 abs Exp $
#
-DISTNAME= pkglint-1.87
+DISTNAME= pkglint-1.88
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl
index 38da3803722..748ccf8060e 100755
--- a/pkgtools/pkglint/files/lintpkgsrc.pl
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
-# $NetBSD: lintpkgsrc.pl,v 1.13 1999/12/22 21:37:58 abs Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.14 1999/12/22 22:07:31 abs Exp $
# Written by David Brownlee <abs@netbsd.org>.
#
@@ -118,7 +118,9 @@ exit;
sub check_prebuilt_packages
{
- if (/(.*)\.tgz$/)
+ if ($_ eq 'distfiles')
+ { $File::Find::prune = 1; }
+ elsif (/(.*)\.tgz$/)
{
if (!defined($pkgver2dir{$1}))
{