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

jeremyhu at macports.org jeremyhu at macports.org
Sun Aug 4 10:36:59 PDT 2013


Revision: 108906
          https://trac.macports.org/changeset/108906
Author:   jeremyhu at macports.org
Date:     2013-08-04 10:36:59 -0700 (Sun, 04 Aug 2013)
Log Message:
-----------
webkit-gtk: Consolidate shared dependencies and configure options

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

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2013-08-04 17:32:10 UTC (rev 108905)
+++ trunk/dports/www/webkit-gtk/Portfile	2013-08-04 17:36:59 UTC (rev 108906)
@@ -31,6 +31,7 @@
         port:flex \
         port:enchant \
         port:geoclue \
+        port:gobject-introspection \
         port:harfbuzz-icu \
         port:libxslt \
         port:libpng \
@@ -69,6 +70,8 @@
 configure.python    /usr/bin/python
 
 configure.args  \
+        --disable-webkit2 \
+        --enable-introspection \
         --disable-video \
         --enable-svg \
         --enable-geolocation \
@@ -76,11 +79,9 @@
 
 subport webkit-gtk3 {
     revision 2
-    depends_lib-append      port:gtk3 \
-                            port:gobject-introspection
-    configure.args-append   --with-gtk=3.0 \
-                            --disable-webkit2 \
-                            --enable-introspection
+    depends_lib-append      port:gtk3
+    configure.args-append   --with-gtk=3.0
+
 #
 # move gtk-docs to allow parallel install with webkit-gtk
 #
@@ -110,12 +111,8 @@
 if {${name} == ${subport}} {
     revision 1
 
-    depends_lib-append      port:gtk2 \
-                            port:gobject-introspection
-
-    configure.args-append   --with-gtk=2.0 \
-                            --disable-webkit2 \
-                            --enable-introspection
+    depends_lib-append      port:gtk2
+    configure.args-append   --with-gtk=2.0
 }
 
 # https://bugs.webkit.org/show_bug.cgi?id=94488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130804/c5e7c2ac/attachment.html>


More information about the macports-changes mailing list