[40957] trunk/dports/net/transmission-x11/Portfile

Randall Wood randall.h.wood at alexandriasoftware.com
Sun Oct 19 03:38:46 PDT 2008


I would remove this variant and get the net/transmission port working  
instead.

On 18 Oct 2008, at 22:10, Ryan Schmidt wrote:

>
> On Oct 18, 2008, at 20:44, raimue at macports.org wrote:
>
>>
>> +variant aqua description {Build Aqua front-end} {
>> +	configure.args-delete	--disable-darwin
>> +	configure.args-append	--enable-darwin
>> +}
>> +
>> +pre-fetch {
>> +	if { [variant_isset aqua] } {
>> +		set comparison [string  compare "${os.platform} ${os.major}"
>> "darwin 9"]
>> +		if {$comparison != 0} {
>> +			return -code error "The aqua front-end only builds on Mac OS X
>> Leopard (10.5.x). try the gtk variant"
>> +		}
>> +	}
>> +}
>
> It builds only on 10.5? or it builds on 10.5 or greater? If the
> latter, I recommend something like:
>
> variant aqua description {Build Aqua front-end} {
> 	pre-fetch {
> 		if { ${os.major} < 9 } {
> 			return -code error "The aqua front-end of ${name} requires Mac OS
> X 10.5 or greater. Try the gtk variant instead."
> 		}
> 	}
> 	configure.args-delete	--disable-darwin
> 	configure.args-append	--enable-darwin
> }
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list