[22763] trunk/dports/lang/ghc-devel/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 13 16:11:54 PDT 2007
Revision: 22763
http://trac.macosforge.org/projects/macports/changeset/22763
Author: eridius at macports.org
Date: 2007-03-13 16:11:53 -0700 (Tue, 13 Mar 2007)
Log Message:
-----------
Fix i386/jaguar detection in ghc-devel so a `port clean all` doesn't error out.
Note that this hasn't been tested to actually work properly, since I don't want to install all dependencies, but I have faith
Modified Paths:
--------------
trunk/dports/lang/ghc-devel/Portfile
Modified: trunk/dports/lang/ghc-devel/Portfile
===================================================================
--- trunk/dports/lang/ghc-devel/Portfile 2007-03-13 22:53:08 UTC (rev 22762)
+++ trunk/dports/lang/ghc-devel/Portfile 2007-03-13 23:11:53 UTC (rev 22763)
@@ -26,6 +26,17 @@
set worksrcdir ghc
+platform darwin i386 {}
+platform darwin 6 {}
+pre-fetch {
+ if {[variant_isset darwin_i386]} {
+ return -code error "ghc-devel is not supported on OS X i386 yet"
+ }
+ if {[variant_isset darwin_6]} {
+ return -code error "ghc-devel is not supported on Jaguar (OS X 10.2.x)"
+ }
+}
+
fetch { cd ${workpath}
system "darcs get --partial ${darcs_site}ghc"
@@ -67,17 +78,6 @@
# the five scripts which actually have the installation \
# path hard coded.
-
-platform darwin i386 {
- ui_msg "ghc-devel is not supported on OS X i386 yet"
- exit 1
-}
-
-platform darwin 6 {
- ui_msg "ghc-devel is not supported on Jaguar (OS X 10.2.x)"
- exit 1
-}
-
platform darwin 7 {
depends_build-append path:${prefix}/bin/gmake:gmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070313/1e050041/attachment.html
More information about the macports-changes
mailing list