[34766] trunk/dports/lang/ghc/Portfile

dluke at macports.org dluke at macports.org
Tue Mar 4 12:58:08 PST 2008


Revision: 34766
          http://trac.macosforge.org/projects/macports/changeset/34766
Author:   dluke at macports.org
Date:     2008-03-04 12:58:08 -0800 (Tue, 04 Mar 2008)

Log Message:
-----------
Wrap return -code error in pre-fetch blocks so that it doesn't blow up portindex

Modified Paths:
--------------
    trunk/dports/lang/ghc/Portfile

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2008-03-04 20:54:37 UTC (rev 34765)
+++ trunk/dports/lang/ghc/Portfile	2008-03-04 20:58:08 UTC (rev 34766)
@@ -56,12 +56,16 @@
 
 
 platform darwin 6 {
-		return -code error "${name} is not supported on Mac OS X 10.2.x (Jaguar)"
+		pre-fetch {
+			return -code error "${name} is not supported on Mac OS X 10.2.x (Jaguar)"
+		}
 	}
 
 
 platform darwin 7 {
-		return -code error "${name} is not supported on Mac OS X 10.3.x (Panther)"
+		pre-fetch {
+			return -code error "${name} is not supported on Mac OS X 10.3.x (Panther)"
+		}
 }
 
 
@@ -101,7 +105,9 @@
 		global ghc_bootversion
 		set ghc_bootversion	6.8.2
 
-		return -code error "${name} is not yet supported on Mac OS X 10.5.x PowerPC"
+		pre-fetch {
+			return -code error "${name} is not yet supported on Mac OS X 10.5.x PowerPC"
+		}
 #		master_sites-append	${homepage}${name}/dist/${ghc_bootversion}/:bootstrap
 
 #		distfiles-append	${name}-${ghc_bootversion}-darwin-ppc-leopard-bootstrap.tar.bz2:bootstrap

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


More information about the macports-changes mailing list