Le 20 nov. 08 à 00:18, Rainer Müller a écrit :

Trannie Carter wrote:
Instead of testing whether the variant is set, you could write another
post-destroot block in the variant itself.

Oh, I'm not familiar with that pattern. I modeled that section after the MacPorts Guide section 4.4.2 Variant Actions in a Phase. Maybe this new style
is described in the trunk version of the guide.

There is only one version of the guide. The description of new features
introduced on trunk only should note that they are not released yet.

Rainer

I'm not talking about a new feature:

post-destroot {
    ...
}

variant dump185 {
    configure.args-append   --enable-dump185

    post-destroot {
        move ${destroot}${prefix}/bin/db_dump185 \
            ${destroot}${prefix}/bin/db46_dump185
    }
}
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to