[102318] trunk/dports/www/webkit-gtk

jeremyhu at macports.org jeremyhu at macports.org
Thu Jan 31 00:45:23 PST 2013


Revision: 102318
          https://trac.macports.org/changeset/102318
Author:   jeremyhu at macports.org
Date:     2013-01-31 00:45:23 -0800 (Thu, 31 Jan 2013)
Log Message:
-----------
webkit-gtk: Fix Leopard/ppc build (#37839)

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

Added Paths:
-----------
    trunk/dports/www/webkit-gtk/files/optflags.patch

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2013-01-31 01:31:11 UTC (rev 102317)
+++ trunk/dports/www/webkit-gtk/Portfile	2013-01-31 08:45:23 UTC (rev 102318)
@@ -44,6 +44,7 @@
 # our-icu.patch: No upstream bug report, probably not wanted
 # xrender-check.patch: https://bugs.webkit.org/show_bug.cgi?id=84095
 # bison-2.6.patch: No upstream bug (?)
+# optflags.patch: https://trac.macports.org/ticket/37839
 # ppc.patch: https://bugs.webkit.org/show_bug.cgi?id=96005
 # tiger.patch: No upstream bug, http://trac.macports.org/ticket/35923
 
@@ -54,6 +55,7 @@
         our-icu.patch \
         xrender-check.patch \
         ruby-1.8.patch \
+        optflags.patch \
         ppc.patch \
         tiger.patch
 
@@ -254,6 +256,11 @@
     }
 }
 
+platform powerpc {
+    # https://trac.macports.org/ticket/37839
+    configure.optflags -Os
+}
+
 livecheck.type  regex
 livecheck.url   http://webkitgtk.org/?page=download
 livecheck.regex webkitgtk-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)

Added: trunk/dports/www/webkit-gtk/files/optflags.patch
===================================================================
--- trunk/dports/www/webkit-gtk/files/optflags.patch	                        (rev 0)
+++ trunk/dports/www/webkit-gtk/files/optflags.patch	2013-01-31 08:45:23 UTC (rev 102318)
@@ -0,0 +1,17 @@
+--- configure.ac.orig	2012-12-09 12:01:04.000000000 -0600
++++ configure.ac	2013-01-30 16:08:56.000000000 -0600
+@@ -1215,14 +1215,6 @@
+    AC_DEFINE([NDEBUG], [1], [Define to disable debugging features])
+ fi
+ 
+-# Add the appropriate 'O' level for optimized builds
+-if test "$enable_optimizations" = "yes"; then
+-   CXXFLAGS="$CXXFLAGS -O2"
+-   CFLAGS="$CFLAGS -O2"
+-else
+-   CXXFLAGS="$CXXFLAGS -O0"
+-   CFLAGS="$CFLAGS -O0"
+-fi
+ 
+ PKG_CHECK_MODULES([LIBSOUP],
+                   [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130131/41fb678b/attachment.html>


More information about the macports-changes mailing list