Revision
91455
Author
jeremyhu@macports.org
Date
2012-04-02 08:42:03 -0700 (Mon, 02 Apr 2012)

Log Message

xorg-xcb-util: Now that Tiger supports apple-gcc-4.2, use it as our fallback there

Modified Paths

Diff

Modified: trunk/dports/x11/xorg-xcb-util/Portfile (91454 => 91455)


--- trunk/dports/x11/xorg-xcb-util/Portfile	2012-04-02 13:44:29 UTC (rev 91454)
+++ trunk/dports/x11/xorg-xcb-util/Portfile	2012-04-02 15:42:03 UTC (rev 91455)
@@ -26,6 +26,10 @@
 
 if {${configure.compiler} == "gcc-4.0"} {
     configure.compiler gcc-4.2
+    if {![file exists ${configure.cc}]} {
+        depends_build-append port:apple-gcc42
+        configure.compiler apple-gcc-4.2
+    }
 }
 
 livecheck.type  regex