[60158] trunk/dports/devel
Ryan Schmidt
ryandesign at macports.org
Sun Nov 8 17:45:15 PST 2009
On Nov 3, 2009, at 13:36, wsiegrist at apple.com wrote:
> Revision: 60158
> http://trac.macports.org/changeset/60158
> Author: wsiegrist at apple.com
> 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"
}
}
More information about the macports-dev
mailing list