[27261] trunk/dports/x11/qt3/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 26 00:04:57 PDT 2007


Revision: 27261
          http://trac.macosforge.org/projects/macports/changeset/27261
Author:   takanori at macports.org
Date:     2007-07-26 00:04:57 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
use return instead of exit.

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

Modified: trunk/dports/x11/qt3/Portfile
===================================================================
--- trunk/dports/x11/qt3/Portfile	2007-07-26 07:04:33 UTC (rev 27260)
+++ trunk/dports/x11/qt3/Portfile	2007-07-26 07:04:57 UTC (rev 27261)
@@ -101,9 +101,7 @@
 
 configure       {
 		if {[file exists ${prefix}/bin/cups-config]} {
-			ui_msg "port:cups-headers may prevent building this port."
-			ui_msg "Please uninstall (or deactivate) cups-headers and restart the build."
-			exit 1
+			return -code error "port:cups-headers may prevent building this port. Please uninstall (or deactivate) cups-headers and restart the build."
 		}
 }
 
@@ -142,8 +140,9 @@
 }
 
 platform darwin 6 {
-		ui_msg "Sorry, your platform is no longer supported."
-		exit 1
+		pre-fetch {
+			  return -code error "Sorry, your platform is no longer supported."
+		}
 }
 
 variant mysql {

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


More information about the macports-changes mailing list