[29882] trunk/dports/math

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 14 05:44:41 PDT 2007


Revision: 29882
          http://trac.macosforge.org/projects/macports/changeset/29882
Author:   boeyms at macports.org
Date:     2007-10-14 05:44:40 -0700 (Sun, 14 Oct 2007)

Log Message:
-----------
Remove use of exit in platform-specific parts of some Portfiles.

Modified Paths:
--------------
    trunk/dports/math/GiNaC/Portfile
    trunk/dports/math/cln/Portfile
    trunk/dports/math/nestedsums/Portfile

Modified: trunk/dports/math/GiNaC/Portfile
===================================================================
--- trunk/dports/math/GiNaC/Portfile	2007-10-14 12:43:00 UTC (rev 29881)
+++ trunk/dports/math/GiNaC/Portfile	2007-10-14 12:44:40 UTC (rev 29882)
@@ -41,13 +41,11 @@
 		port:cln
 
 platform darwin 6 {
-		ui_msg "GiNaC is not supported on Jaguar (OS X 10.2.x)."
-		exit 1
+		return -code error "GiNaC is not supported on Jaguar (OS X 10.2.x)."
 }
 
 platform darwin 7 {
-		ui_msg "GiNaC is not supported on Panther (OS X 10.3.x)."
-		exit 1
+		return -code error "GiNaC is not supported on Panther (OS X 10.3.x)."
 }
 
 #platform darwin 8 {

Modified: trunk/dports/math/cln/Portfile
===================================================================
--- trunk/dports/math/cln/Portfile	2007-10-14 12:43:00 UTC (rev 29881)
+++ trunk/dports/math/cln/Portfile	2007-10-14 12:44:40 UTC (rev 29882)
@@ -21,13 +21,11 @@
 depends_lib	port:gmp
 
 platform darwin 6 {
-		ui_msg "cln is not supported on Jaguar (OS X 10.2.x)"
-		exit 1
+		return -code error "cln is not supported on Jaguar (OS X 10.2.x)"
 		}
 
 platform darwin 7 {
-		ui_msg "cln is not supported on Panther (OS X 10.3.x)"
-		exit 1
+		return -code error "cln is not supported on Panther (OS X 10.3.x)"
 		}
 
 platform darwin 8 {

Modified: trunk/dports/math/nestedsums/Portfile
===================================================================
--- trunk/dports/math/nestedsums/Portfile	2007-10-14 12:43:00 UTC (rev 29881)
+++ trunk/dports/math/nestedsums/Portfile	2007-10-14 12:44:40 UTC (rev 29882)
@@ -22,13 +22,11 @@
 #		in gcc which causes one of the tests to fail.
 
 platform darwin 6 {
-		ui_msg "nesteedsums is not supported on Jaguar (OS X 10.2.x)."
-		exit 1
+		return -code error "nesteedsums is not supported on Jaguar (OS X 10.2.x)."
 }
 
 platform darwin 7 {
-		ui_msg "nesteedsums is not supported on Panther (OS X 10.3.x)."
-		exit 1
+		return -code error "nesteedsums is not supported on Panther (OS X 10.3.x)."
 }
 
 default_variants	+test

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


More information about the macports-changes mailing list