Bladeren bron

Add supported for USE_GCC=yes.

PR:		174758
Submitted by:	gerald
marcus 11 jaren geleden
bovenliggende
commit
a9a16ca3f8
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 3 1
      portlint.pl

+ 3 - 1
portlint.pl

@@ -2003,7 +2003,9 @@ ruby sed sh sort sysctl touch tr which xargs xmkmf
 	if ($whole =~ /^USE_GCC[?:]?=\s*(.*)$/m) {
 		my $lineno = &linenumber($`);
 		my $gcc_val = $1;
-		if ($gcc_val =~ /3\.[234]\+/) {
+		if ($gcc_val eq 'any' || $gcc_val eq 'yes') {
+			# Just accept these two.
+		} elsif ($gcc_val =~ /3\.[234]\+/) {
 			&perror("WARN", $file, $lineno, "USE_GCC=3.2+, USE_GCC=3.3+, ".
 				"and USE_GCC=3.4+ are noops on all currently (and future) ".
 				"supported versions of FreeBSD.  Do not use them.");