Modified: trunk/dports/devel/gtk-osx-application/Portfile (115511 => 115512)
--- 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