Index: src/portlint.pl =================================================================== --- src/portlint.pl (revision 386763) +++ src/portlint.pl (working copy) @@ -2070,7 +2070,7 @@ # # whole file: check for USE_ANT and USES=gmake both defined # - if ($use_ant && $makevar{USES} !~ /\bgmake\b/) { + if ($use_ant && $makevar{USES} =~ /\bgmake\b/) { &perror("WARN", $file, -1, "a port shall not define both USE_ANT ". "and USES[+]=gmake"); }