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

jmr at macports.org jmr at macports.org
Mon Aug 6 12:49:58 PDT 2012


Revision: 96265
          https://trac.macports.org/changeset/96265
Author:   jmr at macports.org
Date:     2012-08-06 12:49:57 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
ghc: don't error out at parse time (#35432)

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

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2012-08-06 19:47:40 UTC (rev 96264)
+++ trunk/dports/lang/ghc/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
@@ -270,8 +270,10 @@
 						${canonicalname}-${ghc_bootversion}-darwin-i386-snowleopard-bootstrap.tar.bz2
 
 		} else {
-			# belt and braces approach:
-			return -code error "Unrecognized build architecture on Snow Leopard"
+		        pre-fetch {
+			        # belt and braces approach:
+			        return -code error "Unrecognized build architecture on Snow Leopard"
+			}
 		}
 
 		patchfiles-append	patch-snowleopard-compiler-cmm-CLabel.hs.diff		\
@@ -342,8 +344,10 @@
 						${canonicalname}-${ghc_bootversion}-darwin-i386-snowleopard-bootstrap.tar.bz2
 
 		} else {
-			# belt and braces approach:
-			return -code error "Unrecognized build architecture on Snow Leopard"
+		        pre-fetch {
+			        # belt and braces approach:
+			        return -code error "Unrecognized build architecture on Snow Leopard"
+			}
 		}
 
 		patchfiles-append	patch-snowleopard-compiler-cmm-CLabel.hs.diff		\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/c864d2b9/attachment.html>


More information about the macports-changes mailing list