On Jan 28, 2014, at 17:47, rai...@macports.org wrote:

> Revision
> 116568
> Author
> rai...@macports.org
> Date
> 2014-01-28 15:47:34 -0800 (Tue, 28 Jan 2014)
> Log Message
> 
> audio/xmms2:
> Use waf port group.
> Add +python27 variant and make it default.
> 
> Modified Paths
> 
>       • trunk/dports/audio/xmms2/Portfile

> @@ -120,8 +110,15 @@
> 
>  variant python26 description {Support for Python 2.6} {
> 
>      depends_lib-append      port:py26-pyrex
> 
>      configure.args-delete   --without-optionals python
> 
> +    configure.python        ${prefix}/bin/python2.6
> 
>  }
> 
>  
> 
> -default_variants    +python26
> 
> +variant python27 description {Support for Python 2.7} {
> +    depends_lib-append      port:py27-pyrex
> +    configure.args-delete   --without-optionals python
> +    configure.python        ${prefix}/bin/python2.7
> +}
> 
>  
> 
> +default_variants    +python27

Presumably +python27 should only be the default if the user has not already 
selected +python26, and the python26 and python27 variants should be marked as 
conflicting with one another.


_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to