[94098] trunk/dports/lang/ocaml-devel/Portfile

mww at macports.org mww at macports.org
Sat Jun 9 02:53:00 PDT 2012


Revision: 94098
          https://trac.macports.org/changeset/94098
Author:   mww at macports.org
Date:     2012-06-09 02:52:58 -0700 (Sat, 09 Jun 2012)
Log Message:
-----------
ocaml-devel: disable asm-cfi support to compile with clang; inc. revision

Modified Paths:
--------------
    trunk/dports/lang/ocaml-devel/Portfile

Modified: trunk/dports/lang/ocaml-devel/Portfile
===================================================================
--- trunk/dports/lang/ocaml-devel/Portfile	2012-06-09 09:33:39 UTC (rev 94097)
+++ trunk/dports/lang/ocaml-devel/Portfile	2012-06-09 09:52:58 UTC (rev 94098)
@@ -5,6 +5,7 @@
 name                ocaml-devel
 conflicts           ocaml
 version             4.00.0+beta2
+revision            1
 set major_vers      4.00
 platforms           darwin
 maintainers         mww openmaintainer
@@ -32,14 +33,13 @@
 
 set docdir          ${prefix}/share/doc/${name}
 
-# http://caml.inria.fr/mantis/view.php?id=5643
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
-}
-
 # Configure.
 configure.pre_args  -prefix ${prefix}
 configure.args      -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\"
+post-configure {
+    # http://caml.inria.fr/mantis/view.php?id=5643
+    reinplace "s|ASM_CFI_SUPPORTED=.*|ASM_CFI_SUPPORTED=false|g" ${worksrcpath}/config/Makefile
+}
 
 # Building.
 build.target        world.opt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120609/c994d9dd/attachment.html>


More information about the macports-changes mailing list