[79685] trunk/dports/gnome/vte/Portfile

jmr at macports.org jmr at macports.org
Thu Jun 23 09:03:35 PDT 2011


Revision: 79685
          http://trac.macports.org/changeset/79685
Author:   jmr at macports.org
Date:     2011-06-23 09:03:35 -0700 (Thu, 23 Jun 2011)
Log Message:
-----------
vte: fix dependencies and configure args when python variants are disabled

Modified Paths:
--------------
    trunk/dports/gnome/vte/Portfile

Modified: trunk/dports/gnome/vte/Portfile
===================================================================
--- trunk/dports/gnome/vte/Portfile	2011-06-23 14:53:59 UTC (rev 79684)
+++ trunk/dports/gnome/vte/Portfile	2011-06-23 16:03:35 UTC (rev 79685)
@@ -26,10 +26,12 @@
 
 depends_build   port:intltool \
                 port:pkgconfig
+depends_lib     port:gtk2
 
 patchfiles      patch-configure.diff
 
-configure.args-append  --disable-introspection --disable-Bsymbolic
+configure.args  --disable-introspection --disable-Bsymbolic \
+                --disable-python
 
 configure.cflags-append -fstrict-aliasing
 
@@ -40,6 +42,7 @@
 
 variant python27 conflicts python26 \
 description {Build Bindings for Python 2.7} {
+    configure.args-delete --disable-python
     set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
     depends_lib-append port:py27-gtk
     configure.python ${prefix}/bin/python2.7
@@ -49,6 +52,7 @@
 
 variant python26 conflicts python27 \
 description {Build Bindings for Python 2.6} {
+    configure.args-delete --disable-python
     set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
     depends_lib-append port:py26-gtk
     configure.python ${prefix}/bin/python2.6
@@ -56,9 +60,7 @@
     configure.env               PATH=${python_prefix}/bin:$env(PATH)
 }
 
-variant without_python description {Disable Python support} {
-    configure.args-append   --disable-python
-}
+variant without_python description {Disable Python support} {}
 
 platform darwin 9 {
     post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110623/a641f0eb/attachment.html>


More information about the macports-changes mailing list