[40682] trunk/dports

nox at macports.org nox at macports.org
Fri Oct 10 10:19:40 PDT 2008


Revision: 40682
          http://trac.macports.org/changeset/40682
Author:   nox at macports.org
Date:     2008-10-10 10:19:39 -0700 (Fri, 10 Oct 2008)
Log Message:
-----------
cln, nestedsums, qmail-spamcontrol, xloops: Errors in platform blocks are now executed in a pre-fetch block.

Modified Paths:
--------------
    trunk/dports/mail/qmail-spamcontrol/Portfile
    trunk/dports/math/cln/Portfile
    trunk/dports/math/nestedsums/Portfile
    trunk/dports/science/xloops/Portfile

Modified: trunk/dports/mail/qmail-spamcontrol/Portfile
===================================================================
--- trunk/dports/mail/qmail-spamcontrol/Portfile	2008-10-10 16:44:12 UTC (rev 40681)
+++ trunk/dports/mail/qmail-spamcontrol/Portfile	2008-10-10 17:19:39 UTC (rev 40682)
@@ -243,7 +243,9 @@
 }
 
 platform darwin 6 {
-	return -code error "${name} requires Mac OS X 10.3 or newer."
+	pre-fetch {
+		error "${name} requires Mac OS X 10.3 or newer."
+	}
 }
 
 livecheck.check			regex

Modified: trunk/dports/math/cln/Portfile
===================================================================
--- trunk/dports/math/cln/Portfile	2008-10-10 16:44:12 UTC (rev 40681)
+++ trunk/dports/math/cln/Portfile	2008-10-10 17:19:39 UTC (rev 40682)
@@ -24,12 +24,16 @@
 depends_lib	port:gmp
 
 platform darwin 6 {
-		return -code error "cln is not supported on Jaguar (OS X 10.2.x)"
-		}
+	pre-fetch {
+		error "cln is not supported on Jaguar (OS X 10.2.x)"
+	}
+}
 
 platform darwin 7 {
-		return -code error "cln is not supported on Panther (OS X 10.3.x)"
-		}
+	pre-fetch {
+		error "cln is not supported on Panther (OS X 10.3.x)"
+	}
+}
 
 configure.cflags-delete	-O2
 configure.cflags-append -O

Modified: trunk/dports/math/nestedsums/Portfile
===================================================================
--- trunk/dports/math/nestedsums/Portfile	2008-10-10 16:44:12 UTC (rev 40681)
+++ trunk/dports/math/nestedsums/Portfile	2008-10-10 17:19:39 UTC (rev 40682)
@@ -22,11 +22,15 @@
 #		in gcc which causes one of the tests to fail.
 
 platform darwin 6 {
-		return -code error "nesteedsums is not supported on Jaguar (OS X 10.2.x)."
+	pre-fetch {
+		error "nesteedsums is not supported on Jaguar (OS X 10.2.x)."
+	}
 }
 
 platform darwin 7 {
-		return -code error "nesteedsums is not supported on Panther (OS X 10.3.x)."
+	pre-fetch {
+		error "nesteedsums is not supported on Panther (OS X 10.3.x)."
+	}
 }
 
 default_variants	+test

Modified: trunk/dports/science/xloops/Portfile
===================================================================
--- trunk/dports/science/xloops/Portfile	2008-10-10 16:44:12 UTC (rev 40681)
+++ trunk/dports/science/xloops/Portfile	2008-10-10 17:19:39 UTC (rev 40682)
@@ -39,7 +39,9 @@
 }
 
 platform darwin 6 {
-		return -code error "xloops is not supported on Jaguar (OS X 10.2.x)"
+	pre-fetch {
+		error "xloops is not supported on Jaguar (OS X 10.2.x)"
+	}
 }
 
 platform darwin 7 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081010/9f435b6f/attachment-0001.html 


More information about the macports-changes mailing list