[101909] trunk/dports/devel/ppl/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Jan 21 10:51:59 PST 2013
Revision: 101909
https://trac.macports.org/changeset/101909
Author: jeremyhu at macports.org
Date: 2013-01-21 10:51:59 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
ppl: Revert my previous changes for now...
Modified Paths:
--------------
trunk/dports/devel/ppl/Portfile
Modified: trunk/dports/devel/ppl/Portfile
===================================================================
--- trunk/dports/devel/ppl/Portfile 2013-01-21 18:48:06 UTC (rev 101908)
+++ trunk/dports/devel/ppl/Portfile 2013-01-21 18:51:59 UTC (rev 101909)
@@ -38,11 +38,13 @@
depends_build port:m4
depends_lib port:gmp port:glpk
-compiler.blacklist gcc-4.0
-
-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 { ${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
+ }
}
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/20130121/c3b81b5d/attachment.html>
More information about the macports-changes
mailing list