[27258] trunk/dports/kde/kdelibs3/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 26 00:03:56 PDT 2007


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

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

Modified Paths:
--------------
    trunk/dports/kde/kdelibs3/Portfile

Modified: trunk/dports/kde/kdelibs3/Portfile
===================================================================
--- trunk/dports/kde/kdelibs3/Portfile	2007-07-26 07:03:24 UTC (rev 27257)
+++ trunk/dports/kde/kdelibs3/Portfile	2007-07-26 07:03:56 UTC (rev 27258)
@@ -101,9 +101,7 @@
 
 pre-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."
 		}
 }
 configure	{}
@@ -122,8 +120,9 @@
 platform darwin 7 {}
 
 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."
+		}
 }
 
 universal_variant	no

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


More information about the macports-changes mailing list