[92056] trunk/dports/www/webkit-gtk/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Apr 16 15:44:54 PDT 2012


Revision: 92056
          https://trac.macports.org/changeset/92056
Author:   jeremyhu at macports.org
Date:     2012-04-16 15:44:54 -0700 (Mon, 16 Apr 2012)
Log Message:
-----------
webkit-gtk: Fix build with gcc-4.0

Modified Paths:
--------------
    trunk/dports/www/webkit-gtk/Portfile

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2012-04-16 22:09:07 UTC (rev 92055)
+++ trunk/dports/www/webkit-gtk/Portfile	2012-04-16 22:44:54 UTC (rev 92056)
@@ -31,7 +31,6 @@
 	port:libxslt \
 	port:sqlite3 \
         port:enchant \
-        port:gst-plugins-base \
         port:xorg-libXt
         
 depends_build	\
@@ -54,6 +53,11 @@
     configure.compiler llvm-gcc-4.2 
 }
 
+# https://trac.macports.org/ticket/34044
+if {${configure.compiler} == "gcc-4.0" && [vercmp ${xcodeversion} 3.0] >= 0} {
+    configure.compiler gcc-4.2
+}
+
 post-patch {
     # For some reason, this isn't getting created for some people... ? /shrug
     file mkdir ${worksrcpath}/DerivedSources
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120416/ffbfd33b/attachment.html>


More information about the macports-changes mailing list