[119714] trunk/base/src/port1.0/portlint.tcl
ryandesign at macports.org
ryandesign at macports.org
Sat May 3 20:27:18 PDT 2014
Revision: 119714
https://trac.macports.org/changeset/119714
Author: ryandesign at macports.org
Date: 2014-05-03 20:27:18 -0700 (Sat, 03 May 2014)
Log Message:
-----------
portlint.tcl: check for use of compiler.blacklist that requires compiler_blacklist_versions portgroup; see https://lists.macosforge.org/pipermail/macports-dev/2014-May/026683.html
Modified Paths:
--------------
trunk/base/src/port1.0/portlint.tcl
Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl 2014-05-04 03:15:08 UTC (rev 119713)
+++ trunk/base/src/port1.0/portlint.tcl 2014-05-04 03:27:18 UTC (rev 119714)
@@ -289,6 +289,11 @@
incr warnings
}
+ if {[regexp {compiler\.blacklist.*\{} $line] && ![info exists portgroups(compiler_blacklist_versions)]} {
+ ui_error "Line $lineno uses compiler.blacklist in a way that requires the compiler_blacklist_versions portgroup, but this portgroup has not been included"
+ incr errors
+ }
+
# Check for hardcoded version numbers
if {$nitpick} {
# Support for skipping checksums lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140503/817ffed2/attachment.html>
More information about the macports-changes
mailing list