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

elelay at macports.org elelay at macports.org
Mon Aug 11 02:05:47 PDT 2014


Revision: 123595
          https://trac.macports.org/changeset/123595
Author:   elelay at macports.org
Date:     2014-08-11 02:05:47 -0700 (Mon, 11 Aug 2014)
Log Message:
-----------
gtk-osx-application: fix #43702 -python27 works now

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-08-11 08:30:46 UTC (rev 123594)
+++ trunk/dports/devel/gtk-osx-application/Portfile	2014-08-11 09:05:47 UTC (rev 123595)
@@ -102,7 +102,8 @@
 
 }
 
-variant no_python description {Don't build python bindings, don't require any python} {
+variant no_python conflicts python26 conflicts python27 description {
+        Don't build python bindings, don't require any python} {
 }
 
 if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset no_python]} {
@@ -134,7 +135,7 @@
     # 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]} {
+    if {[variant_isset python26] || [variant_isset python27]} {
       configure.args-append --enable-python=yes
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140811/33a8f72d/attachment.html>


More information about the macports-changes mailing list