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

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 12 07:36:10 PDT 2007


Revision: 27708
          http://trac.macosforge.org/projects/macports/changeset/27708
Author:   rhwood at macports.org
Date:     2007-08-12 07:36:10 -0700 (Sun, 12 Aug 2007)

Log Message:
-----------
Fix the return statements

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

Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile	2007-08-12 14:26:52 UTC (rev 27707)
+++ trunk/dports/x11/gtk2/Portfile	2007-08-12 14:36:10 UTC (rev 27708)
@@ -50,11 +50,11 @@
 pre-configure {
 	if {[variant_isset quartz]} {
 		if { ![file exists ${prefix}/include/cairo/cairo-quartz.h] } {
-			return 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"
+			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 {[file exists ${prefix}/bin/cups-config]} {
-		return 1 "\nThe cups-headers port may prevent building this port.  Please uninstall\n(or deactivate) cups-headers and restart the build.\n"
+		return -code 1 "\nThe cups-headers port may prevent building this port.  Please uninstall\n(or deactivate) cups-headers and restart the build.\n"
 	}
 }
 # older CFLAGS declaration - if the default optimization still causes problems

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


More information about the macports-changes mailing list