[144747] trunk/dports/www/webkit2-gtk/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Jan 16 22:10:12 PST 2016
Revision: 144747
https://trac.macports.org/changeset/144747
Author: jeremyhu at macports.org
Date: 2016-01-16 22:10:12 -0800 (Sat, 16 Jan 2016)
Log Message:
-----------
webkit2-gtk: Fix linkage to include all of WTF in JavaScriptCore and not in WebKit2 (#50339)
Modified Paths:
--------------
trunk/dports/www/webkit2-gtk/Portfile
Modified: trunk/dports/www/webkit2-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit2-gtk/Portfile 2016-01-17 03:32:20 UTC (rev 144746)
+++ trunk/dports/www/webkit2-gtk/Portfile 2016-01-17 06:10:12 UTC (rev 144747)
@@ -12,7 +12,7 @@
name webkit2-gtk
version 2.11.3
-revision 3
+revision 4
description Apple's WebKit2 HTML rendering library for GTK+3 (with optional support for GTK+2 plugins)
long_description ${description}
maintainers jeremyhu devans
@@ -115,6 +115,14 @@
# <rdar://problem/24031030>
configure.optflags -Os
+post-configure {
+ # https://bugs.webkit.org/show_bug.cgi?id=153176
+ reinplace "s|../../lib/libWTFGTK.a||" ${build.dir}/Source/WebKit2/CMakeFiles/WebKit2.dir/link.txt
+
+ # https://bugs.webkit.org/show_bug.cgi?id=153192
+ reinplace "s|../../lib/libWTFGTK.a|-Wl,-all_load ../../lib/libWTFGTK.a|" ${build.dir}/Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt
+}
+
platform darwin {
pre-configure {
if {${configure.cxx_stdlib} eq "libstdc++"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160116/2c50c4cf/attachment.html>
More information about the macports-changes
mailing list