[93943] trunk/dports/math/ocaml-lacaml

mww at macports.org mww at macports.org
Mon Jun 4 12:14:19 PDT 2012


Revision: 93943
          https://trac.macports.org/changeset/93943
Author:   mww at macports.org
Date:     2012-06-04 12:14:19 -0700 (Mon, 04 Jun 2012)
Log Message:
-----------
ocaml-lacaml: add missing patches

Added Paths:
-----------
    trunk/dports/math/ocaml-lacaml/files/
    trunk/dports/math/ocaml-lacaml/files/patch-lib-exp10.c.diff
    trunk/dports/math/ocaml-lacaml/files/patch-setup.conf.diff

Added: trunk/dports/math/ocaml-lacaml/files/patch-lib-exp10.c.diff
===================================================================
--- trunk/dports/math/ocaml-lacaml/files/patch-lib-exp10.c.diff	                        (rev 0)
+++ trunk/dports/math/ocaml-lacaml/files/patch-lib-exp10.c.diff	2012-06-04 19:14:19 UTC (rev 93943)
@@ -0,0 +1,11 @@
+--- lib/exp10.c	2012-04-30 20:04:29.000000000 +0200
++++ lib/exp10.c	2012-06-04 21:05:48.000000000 +0200
+@@ -7,7 +7,7 @@
+ 
+ #include <math.h>
+ 
+-#ifdef EXTERNAL_EXP10
++#ifndef EXTERNAL_EXP10
+ 
+ #ifndef M_LN10
+ #define M_LN10 2.30258509299404568402  /* log_e 10 */

Added: trunk/dports/math/ocaml-lacaml/files/patch-setup.conf.diff
===================================================================
--- trunk/dports/math/ocaml-lacaml/files/patch-setup.conf.diff	                        (rev 0)
+++ trunk/dports/math/ocaml-lacaml/files/patch-setup.conf.diff	2012-06-04 19:14:19 UTC (rev 93943)
@@ -0,0 +1,11 @@
+--- setup.conf	2012-04-30 20:04:29.000000000 +0200
++++ setup.conf	2012-06-04 18:36:28.000000000 +0200
+@@ -4,6 +4,6 @@
+   variables to add special flags or libraries for compiling
+   Lacaml.  *)
+ 
+-let ccopt = [] (* example: ["-framework vecLib"] *)
+-let cclib = [] (* example: ["-lblas"; "-llapack"] *)
++let ccopt = ["-framework vecLib"]
++let cclib = [""]
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120604/3d0d6810/attachment.html>


More information about the macports-changes mailing list