[28266] trunk/dports/x11/gtk2/Portfile

Randall Wood rhwood at mac.com
Mon Aug 27 01:22:31 PDT 2007


On 26 Aug 2007, at 23:51, Ryan Schmidt wrote:

> On Aug 26, 2007, at 20:41, source_changes at macosforge.org wrote:
[snip]
>>  	}
>> -	if {[file exists ${prefix}/bin/cups-config]} {
>> +	if {${os.platform} == "darwin" && [rpm-vercomp ${os.version}  
>> 8.0] < 0 && [file exists ${prefix}/bin/cups-config]} {
>>  		return -code 1 "\nThe cups-headers port may prevent building  
>> this port.  Please uninstall\n(or deactivate) cups-headers and  
>> restart the build.\n"
>>  	}
>>
[snip]

> I'm a little confused... It sounds like the port now a) depends on  
> cups-headers on darwin 7, and b) when darwin < 8, complains that  
> cups-headers may conflict, and advises uninstalling it. Aren't  
> those two contradictory?

You're right, the "<" should be ">=" thanks for catching that. Now if  
only man portfile said more than "Compare two RPM-format versions for  
equality." when describing rpm-vercomp


Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-dev mailing list