[102079] trunk/dports/devel/ppl/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 27 10:47:51 PST 2013
Revision: 102079
https://trac.macports.org/changeset/102079
Author: jeremyhu at macports.org
Date: 2013-01-27 10:47:51 -0800 (Sun, 27 Jan 2013)
Log Message:
-----------
ppl: Use compiler.blacklist
Modified Paths:
--------------
trunk/dports/devel/ppl/Portfile
Modified: trunk/dports/devel/ppl/Portfile
===================================================================
--- trunk/dports/devel/ppl/Portfile 2013-01-27 18:32:20 UTC (rev 102078)
+++ trunk/dports/devel/ppl/Portfile 2013-01-27 18:47:51 UTC (rev 102079)
@@ -38,13 +38,12 @@
depends_build port:m4
depends_lib port:gmp port:glpk
-if { ${configure.compiler} == "gcc-4.0" } {
- configure.compiler gcc-4.2
- if {![file executable ${configure.cc}]} {
- depends_build-append port:apple-gcc42
- depends_skip_archcheck-append apple-gcc42
- configure.compiler apple-gcc-4.2
- }
+compiler.blacklist gcc-4.0
+
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
}
if { [string match "*clang*" ${configure.compiler}] || [string match "*llvm*" ${configure.compiler}] } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130127/92fee4c2/attachment.html>
More information about the macports-changes
mailing list