[82734] trunk/dports/x11

jeremyhu at macports.org jeremyhu at macports.org
Fri Aug 19 10:11:31 PDT 2011


Revision: 82734
          http://trac.macports.org/changeset/82734
Author:   jeremyhu at macports.org
Date:     2011-08-19 10:11:26 -0700 (Fri, 19 Aug 2011)
Log Message:
-----------
wine*: Fall back on apple-gcc-4.2

Modified Paths:
--------------
    trunk/dports/x11/wine/Portfile
    trunk/dports/x11/wine-crossover/Portfile
    trunk/dports/x11/wine-crossover-games/Portfile
    trunk/dports/x11/wine-devel/Portfile

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2011-08-19 16:21:42 UTC (rev 82733)
+++ trunk/dports/x11/wine/Portfile	2011-08-19 17:11:26 UTC (rev 82734)
@@ -151,6 +151,9 @@
 if {${configure.compiler} == "llvm-gcc-4.2" ||
     ${configure.compiler} == "clang"} {
     configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        configure.compiler apple-gcc-4.2
+    }
 }
 
 platform darwin 9 {

Modified: trunk/dports/x11/wine-crossover/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover/Portfile	2011-08-19 16:21:42 UTC (rev 82733)
+++ trunk/dports/x11/wine-crossover/Portfile	2011-08-19 17:11:26 UTC (rev 82734)
@@ -153,6 +153,9 @@
 if {${configure.compiler} == "llvm-gcc-4.2" ||
     ${configure.compiler} == "clang"} {
     configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        configure.compiler apple-gcc-4.2
+    }
 }
 
 platform darwin 9 {

Modified: trunk/dports/x11/wine-crossover-games/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover-games/Portfile	2011-08-19 16:21:42 UTC (rev 82733)
+++ trunk/dports/x11/wine-crossover-games/Portfile	2011-08-19 17:11:26 UTC (rev 82734)
@@ -156,6 +156,9 @@
 if {${configure.compiler} == "llvm-gcc-4.2" ||
     ${configure.compiler} == "clang"} {
     configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        configure.compiler apple-gcc-4.2
+    }
 }
 
 platform darwin 9 {

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2011-08-19 16:21:42 UTC (rev 82733)
+++ trunk/dports/x11/wine-devel/Portfile	2011-08-19 17:11:26 UTC (rev 82734)
@@ -149,6 +149,9 @@
 if {${configure.compiler} == "llvm-gcc-4.2" ||
     ${configure.compiler} == "clang"} {
     configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        configure.compiler apple-gcc-4.2
+    }
 }
 
 platform darwin 9 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110819/58bad9bf/attachment.html>


More information about the macports-changes mailing list