[67929] trunk/dports/lang/g95/Portfile

takeshi at macports.org takeshi at macports.org
Fri May 21 17:26:29 PDT 2010


Revision: 67929
          http://trac.macports.org/changeset/67929
Author:   takeshi at macports.org
Date:     2010-05-21 17:26:24 -0700 (Fri, 21 May 2010)
Log Message:
-----------
g95: returns error when build with -gcc42 on Snow Leopard (#22359 comment 14)

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

Modified: trunk/dports/lang/g95/Portfile
===================================================================
--- trunk/dports/lang/g95/Portfile	2010-05-21 20:47:52 UTC (rev 67928)
+++ trunk/dports/lang/g95/Portfile	2010-05-22 00:26:24 UTC (rev 67929)
@@ -21,6 +21,11 @@
 
 if {(${os.platform} == "darwin" && ${os.major} == 10)||${build_arch}=="ppc64"||${build_arch}=="x86_64"} {
     default_variants +gcc42
+    pre-fetch {
+        if {![variant_isset gcc42]} {
+            error "$name must be built with +gcc42 on ${os.platform} ${os.major} / ${build_arch}."
+        }
+    }
 }
 
 if {[variant_isset gcc42]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100521/00546b89/attachment.html>


More information about the macports-changes mailing list