summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-09-21 16:22:15 +0000
committerwill <will@FreeBSD.org>2000-09-21 16:22:15 +0000
commita423963728e39f6e317499eb74356128b744750e (patch)
tree25520da6bfcd2555a6cdc1e71db6f70b66a77fa3 /ports-mgmt/portlint
parent3269bfb9afc7d986356c9a998d7d2c6b33c8e39a (diff)
downloadFreeBSD-ports-a423963728e39f6e317499eb74356128b744750e.zip
FreeBSD-ports-a423963728e39f6e317499eb74356128b744750e.tar.gz
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
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/src/portlint.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index 792a890..79f63b4 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/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");
OpenPOWER on IntegriCloud