[102441] trunk/base/src/port1.0/portconfigure.tcl
larryv at macports.org
larryv at macports.org
Sat Feb 2 22:25:20 PST 2013
Revision: 102441
https://trac.macports.org/changeset/102441
Author: larryv at macports.org
Date: 2013-02-02 22:25:20 -0800 (Sat, 02 Feb 2013)
Log Message:
-----------
portconfigure.tcl: Make compiler_is_port use compiler_name_map.
Modified Paths:
--------------
trunk/base/src/port1.0/portconfigure.tcl
Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl 2013-02-03 04:46:15 UTC (rev 102440)
+++ trunk/base/src/port1.0/portconfigure.tcl 2013-02-03 06:25:20 UTC (rev 102441)
@@ -388,14 +388,7 @@
# check if a compiler comes from a port
proc portconfigure::compiler_is_port {compiler} {
- switch $compiler {
- clang -
- llvm-gcc-4.2 -
- gcc-4.2 -
- gcc-4.0 -
- gcc-3.3 {return no}
- default {return yes}
- }
+ return [info exists portconfigure::compiler_name_map($compiler)]
}
# maps compiler names to the port that provides them
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130202/6cc3981a/attachment.html>
More information about the macports-changes
mailing list