[110739] trunk/dports/net/openssh/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Sep 4 17:10:04 PDT 2013


On Sep 4, 2013, at 18:29, cal at macports.org wrote:

> Revision: 110739
>          https://trac.macports.org/changeset/110739
> Author:   cal at macports.org
> Date:     2013-09-04 16:29:16 -0700 (Wed, 04 Sep 2013)
> Log Message:
> -----------
> openssh: fix no_x11 legacy variant
> 
> Modified Paths:
> --------------
>    trunk/dports/net/openssh/Portfile
> 
> Modified: trunk/dports/net/openssh/Portfile
> ===================================================================
> --- trunk/dports/net/openssh/Portfile	2013-09-04 23:25:55 UTC (rev 110738)
> +++ trunk/dports/net/openssh/Portfile	2013-09-04 23:29:16 UTC (rev 110739)
> @@ -93,15 +93,13 @@
>     }
> }
> 
> -default_variants +xauth
> -
> variant xauth description {Build with support for xauth} {
>     configure.args-delete   --without-xauth
>     configure.args-append   --with-xauth=${prefix}/bin/xauth
>     depends_run-append      port:xauth
> }
> 
> -variant no_x11 requires xauth description {Legacy compatibility variant} {}
> +variant no_x11 conflicts xauth description {Legacy compatibility variant} {}
> 
> variant hpn conflicts gsskex description {Apply high performance patch} {
>     # http://www.psc.edu/index.php/hpn-ssh
> @@ -138,6 +136,10 @@
>     depends_lib-append	port:ldns
> }
> 
> +if {[variant_isset no_x11]} {
> +    default_variants +xauth
> +}

$ sudo port install openssh +no_x11
Error: openssh: Variant no_x11 conflicts with xauth
Error: Unable to open port: Error evaluating variants





More information about the macports-dev mailing list