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

On Aug 26, 2007, at 20:41, [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://shyramblings.blogspot.com

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


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to