[98115] trunk/dports/math/maxima

Ryan Schmidt ryandesign at macports.org
Wed Sep 26 08:31:02 PDT 2012


On Sep 25, 2012, at 07:38, and.damore at macports.org wrote:

> Revision: 98115
>          http://trac.macports.org//changeset/98115
> Author:   and.damore at macports.org
> 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
}



More information about the macports-dev mailing list