aboutsummaryrefslogtreecommitdiffstats
path: root/devel/portlint
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-09-22 00:22:15 +0800
committerWill Andrews <will@FreeBSD.org>2000-09-22 00:22:15 +0800
commit89ac3f8bd9ab30330de8d30221fcec7a254a5484 (patch)
treefd4559815263b5f0884d7ed02e67fcbe28745e7e /devel/portlint
parent97a4678e0af16dab8b2531d723828cb25d5930b6 (diff)
downloadfreebsd-ports-89ac3f8bd9ab30330de8d30221fcec7a254a5484.tar.gz
freebsd-ports-89ac3f8bd9ab30330de8d30221fcec7a254a5484.tar.zst
freebsd-ports-89ac3f8bd9ab30330de8d30221fcec7a254a5484.zip
Fix portlint bug where it thinks that missing a files/md5 is fatal but the
port actually does not have any DISTFILES variable. This *should* work with slave/master ports, but I'm not sure. Now the portlint port passes its own test. ;-> PR: 21380 Submitted by: des Approved by: mharo
Notes
Notes: svn path=/head/; revision=32938
Diffstat (limited to 'devel/portlint')
-rw-r--r--devel/portlint/src/portlint.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl
index 792a89031f99..79f63b49323d 100644
--- a/devel/portlint/src/portlint.pl
+++ b/devel/portlint/src/portlint.pl
@@ -284,7 +284,7 @@ foreach my $i (<patches/patch-??>) {
foreach my $i (@checker) {
print "OK: checking $i.\n";
if (! -f "$i") {
- &perror("FATAL: no $i in \"$portdir\".");
+ &perror("FATAL: no $i in \"$portdir\".") unless $i = $makevar{MD5_FILE} && $makevar{DISTFILES} eq "";
} else {
my $proc = $checker{$i};
&$proc($i) || &perror("Cannot open the file $i\n");