summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>1999-12-22 22:07:29 +0000
committerabs <abs@pkgsrc.org>1999-12-22 22:07:29 +0000
commit56d6e3aedd45d78b4b72ce0e6e300c01566a8350 (patch)
tree51ed9884b2b5f69c20842d370eb816af2a376b03 /pkgtools
parent883579219aa3b4253799ca2e2216c52d89e37c02 (diff)
downloadpkgsrc-56d6e3aedd45d78b4b72ce0e6e300c01566a8350.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}))
{