Modified: trunk/dports/comms/telepathy-mission-control/Portfile (80085 => 80086)
--- trunk/dports/comms/telepathy-mission-control/Portfile 2011-07-04 00:18:24 UTC (rev 80085)
+++ trunk/dports/comms/telepathy-mission-control/Portfile 2011-07-04 00:22:10 UTC (rev 80086)
@@ -5,6 +5,7 @@
name telepathy-mission-control
version 5.6.1
+revision 1
categories comms
maintainers devans openmaintainer
platforms darwin
@@ -27,13 +28,24 @@
port:gtk-doc
depends_lib port:telepathy-glib \
- port:libgnome-keyring \
- port:python26
+ port:libgnome-keyring
patchfiles patch-configure.diff
-configure.python ${prefix}/bin/python2.6
+variant python26 conflicts python27 description {Use python 2.6} {
+ configure.python ${prefix}/bin/python2.6
+ depends_lib-append port:python26
+}
+variant python27 conflicts python26 description {Use python 2.7} {
+ configure.python ${prefix}/bin/python2.7
+ depends_lib-append port:python27
+}
+
+if {![variant_isset python25] && ![variant_isset python26]} {
+ default_variants +python27
+}
+
configure.args --enable-gnome-keyring
livecheck.type regex