variant handling ...

Rainer Müller raimue at macports.org
Thu Oct 3 11:37:12 PDT 2013


On 2013-10-03 20:07, Peter Danecek wrote:
> I did not really expect it would work, but I am looking for something like this:
> 
> subport irods-doc {
>     variant-delete unicore
> }

This is not possible with a declarative syntax, but can be achieved
imperatively:

if {$subport != "irods-doc"} {
    variant unicore ... {
        ...
    }
}

Rainer


More information about the macports-dev mailing list