View | Details | Raw Unified | Return to bug 58525
Collapse All | Expand All

(-)src/portlint.pl (+10 lines)
Lines 844-849 Link Here
844
	}
847
	}
845
848
846
	#
849
	#
850
	# whole file: USE_* as a user-settable option
851
	#
852
	print "OK: checking for USE_* as a user-settable option.\n" if ($verbose);
853
	while ($whole =~ /\n\s*\.\s*(?:el)?if[^\n]*?\b(\w*USE_)(\w+)(?\![^\n]*\n#?\.error)/g) {
854
		&perror("WARN: is $1$2 a user-settable option? ".
855
			"Consider using WITH_$2 instead.")
856
			if ($1.$2 ne 'USE_GCC');
857
	}
858
859
	#
847
	# whole file: NO_CHECKSUM
860
	# whole file: NO_CHECKSUM
848
	#
861
	#
849
	$whole =~ s/\n#[^\n]*/\n/g;
862
	$whole =~ s/\n#[^\n]*/\n/g;

Return to bug 58525