--- src/portlint.pl (revision 489882) +++ src/portlint.pl (working copy) @@ -3149,7 +3149,7 @@ if ($tmp =~ /\nLICENSE_FILE_([^\s=]+)([\s=])/) { my $lfn = $1; my $nchar = $2; - if ($lfn ne $makevar{LICENSE}) { + if (!grep(/$lfn/, $makevar{LICENSE})) { &perror("FATAL", $file, -1, "license specified is $makevar{LICENSE}, ". "but LICENSE_FILE specified is for $lfn."); }