From a423963728e39f6e317499eb74356128b744750e Mon Sep 17 00:00:00 2001 From: will Date: Thu, 21 Sep 2000 16:22:15 +0000 Subject: 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 --- devel/portlint/src/portlint.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel/portlint') 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 () { 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"); -- cgit