On Nov 3, 2009, at 13:36,
wsiegrist@... wrote:
> Revision: 60158
>
http://trac.macports.org/changeset/60158> Author:
wsiegrist@...
> Date: 2009-11-03 11:36:03 -0800 (Tue, 03 Nov 2009)
> Log Message:
> -----------
> New darwinbuild ports to handle xcode conversion and legacy darwin
> support.
> + if {![variant_isset universal]} {
> + return -code error "You must install ${name} with the universal
> variant.\
> + Try running `port install ${name} +universal` "
> + }
You could use "default_variants +universal" to make this happen
automatically. In the sleepwatcher port, I do it like this:
default_variants +universal
variant universal {}
pre-fetch {
if {![variant_isset universal]} {
return -code error "${name} is only available in a universal
version"
}
}
_______________________________________________
macports-dev mailing list
macports-dev@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev