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

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 27 01:14:33 PDT 2007


Revision: 28274
          http://trac.macosforge.org/projects/macports/changeset/28274
Author:   rhwood at macports.org
Date:     2007-08-27 01:14:32 -0700 (Mon, 27 Aug 2007)

Log Message:
-----------
Fix stupid logic error

Modified Paths:
--------------
    trunk/dports/x11/gtk2/Portfile

Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile	2007-08-27 07:36:00 UTC (rev 28273)
+++ trunk/dports/x11/gtk2/Portfile	2007-08-27 08:14:32 UTC (rev 28274)
@@ -53,7 +53,7 @@
 			return -code 1 "\nYou must first build cairo with the quartz variant enabled.  Please\nuninstall (or deactivate) the cairo port and reinstall by running:\n\n\"port install cairo +quartz\"\n"
 		}
 	}
-	if {${os.platform} == "darwin" && [rpm-vercomp ${os.version} 8.0] < 0 && [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"
 	}
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070827/a82f7104/attachment.html


More information about the macports-changes mailing list