On Sep 25, 2012, at 07:38, [email protected] wrote:

> Revision: 98115
>          http://trac.macports.org//changeset/98115
> Author:   [email protected]
> Date:     2012-09-25 05:38:24 -0700 (Tue, 25 Sep 2012)
> Log Message:
> -----------
> port maxima: committing patch provided by maintainer, close ticket #36243
> 
> Modified Paths:
> --------------
>    trunk/dports/math/maxima/Portfile
> 
> Added Paths:
> -----------
>    trunk/dports/math/maxima/files/no-xmaxima.patch


> +variant no_xmaxima description {Do not build xmaxima} {
> +    depends_run-delete  port:tk
> +    patchfiles-append   no-xmaxima.patch
> +}

We should not use variants whose names begin with "no_" anymore. That naming 
scheme was necessitated by old versions of MacPorts that could not remember 
disabled variants. But that problem was fixed (by registry 2.0) so now we 
should use positively-named variants, in this case "xmaxima", and it should be 
on by default.

variant xmaxima description {Build xmaxima} {
    depends_run-append  port:tk
}
default_variants +xmaxima
if {![variant_isset xmaxima]} {
    patchfiles-append   no-xmaxima.patch
}

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to