[78274] trunk/dports/lang/pypy/Portfile

jmr at macports.org jmr at macports.org
Sat Apr 30 23:02:55 PDT 2011


Revision: 78274
          http://trac.macports.org/changeset/78274
Author:   jmr at macports.org
Date:     2011-04-30 23:02:54 -0700 (Sat, 30 Apr 2011)
Log Message:
-----------
pypy: check early that gcc-4.0 exists

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

Modified: trunk/dports/lang/pypy/Portfile
===================================================================
--- trunk/dports/lang/pypy/Portfile	2011-05-01 05:46:44 UTC (rev 78273)
+++ trunk/dports/lang/pypy/Portfile	2011-05-01 06:02:54 UTC (rev 78274)
@@ -39,6 +39,13 @@
 platform darwin 10 {
     # 4.2 is known not to work, sigh...
     configure.compiler gcc-4.0
+    # and Xcode 4 doesn't have gcc-4.0...
+    pre-fetch {
+        if {![file executable ${configure.cc}]} {
+            ui_error "$name must be compiled with ${configure.compiler}"
+            error "${configure.cc} not found"
+        }
+    }
 }
 
 build.dir           ${worksrcpath}/pypy/translator/goal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110430/b6d04323/attachment.html>


More information about the macports-changes mailing list