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

Eric neric27 at wanadoo.fr
Sun Oct 19 05:45:09 PDT 2008


It's not what's written in the guide, is it ?
http://guide.macports.org/#development.variants.phase

Rainer Müller a écrit :
> Ryan Schmidt wrote:
>   
>> 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
>> }
>>     
>
> Okay, moving this into the aqua variant is better. But you missed the
> platform check on ${os.platform}.
>
> Rainer
>
> _______________________________________________
> 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