[115512] trunk/dports/devel/gtk-osx-application/Portfile

elelay at macports.org elelay at macports.org
Fri Jan 3 13:46:23 PST 2014


Revision: 115512
          https://trac.macports.org/changeset/115512
Author:   elelay at macports.org
Date:     2014-01-03 13:46:23 -0800 (Fri, 03 Jan 2014)
Log Message:
-----------
actually build python bindings when gtk2 is selected

Modified Paths:
--------------
    trunk/dports/devel/gtk-osx-application/Portfile

Modified: trunk/dports/devel/gtk-osx-application/Portfile
===================================================================
--- trunk/dports/devel/gtk-osx-application/Portfile	2014-01-03 21:01:44 UTC (rev 115511)
+++ trunk/dports/devel/gtk-osx-application/Portfile	2014-01-03 21:46:23 UTC (rev 115512)
@@ -10,7 +10,7 @@
 version         2.0.5
 # FIXME: remove the revision next time !!!
 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-revision        1
+revision        2
 license         LGPL-2.1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel
@@ -129,6 +129,14 @@
 
     # force gtk version to 2.0
     configure.args-append --with-gtk=gtk+-2.0
+    # enable-python defaults to all, but it must be set to
+    # 'yes' otherwise pygtk bindings are not built.
+    # By the way, I had no success configuring with --python=all
+    # as per README (configure rejected the option).
+    # So no gir for gtk2 variant
+    if {![variant_isset no_python]} {
+      configure.args-append --enable-python=yes
+    }
 }
 
 configure.ccache        no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140103/a872cecf/attachment.html>


More information about the macports-changes mailing list