[116582] trunk/dports/audio/xmms2/Portfile

raimue at macports.org raimue at macports.org
Wed Jan 29 03:46:14 PST 2014


Revision: 116582
          https://trac.macports.org/changeset/116582
Author:   raimue at macports.org
Date:     2014-01-29 03:46:14 -0800 (Wed, 29 Jan 2014)
Log Message:
-----------
audio/xmms2:
Fix default variant handling and mark the different python variants conflicting

Modified Paths:
--------------
    trunk/dports/audio/xmms2/Portfile

Modified: trunk/dports/audio/xmms2/Portfile
===================================================================
--- trunk/dports/audio/xmms2/Portfile	2014-01-29 10:12:06 UTC (rev 116581)
+++ trunk/dports/audio/xmms2/Portfile	2014-01-29 11:46:14 UTC (rev 116582)
@@ -107,18 +107,20 @@
     configure.args-append --without-plugins=jack
 }
 
-variant python26 description {Support for Python 2.6} {
+variant python26 description {Support for Python 2.6} conflicts python27 {
     depends_lib-append      port:py26-pyrex
     configure.args-delete   --without-optionals python
     configure.python        ${prefix}/bin/python2.6
 }
 
-variant python27 description {Support for Python 2.7} {
+variant python27 description {Support for Python 2.7} conflicts python27 {
     depends_lib-append      port:py27-pyrex
     configure.args-delete   --without-optionals python
     configure.python        ${prefix}/bin/python2.7
 }
 
-default_variants    +python27
+if {![variant_isset python26]} {
+    default_variants +python27
+}
 
 livecheck.regex         /${name}-(.+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140129/7265fda9/attachment-0001.html>


More information about the macports-changes mailing list