ports/devel/ocaml-lacaml/files/patch-myocamlbuild.ml
Kurt Jaeger ea2e50f028 devel/ocaml-lacaml: 7.1.5 -> 7.2.6
2015-07-01:  Fixed a bug in the complex version of Vec.ssqr_diff.
             Thanks to Akinori Abe for the patch!

2015-06-30:  Fixed Oasis-related linking problem (again).
             Really annoying, but Oasis still generates code that prevents
             proper linking.

2015-06-29:  Improved portability to some Linux-platforms.
             Thanks to Akinori Abe for the patch!

2015-06-03:  Fixed Oasis-related linking problem (again).

2015-05-31:  Fixed several offset calculation bugs for certain default
             argument combinations.
             Thanks to Chris Hardin <chardin@janestreet.com> for the first
             patch!

2015-03-16:  Added support for the general Schur factorization for both real
             and complex numbers:
               * gees
             Thanks to Florent Hoareau <h.florent@gmail.com> for this
             contribution!

2014-10-22:  Fixed string handling for new OCaml version 4.02 (String/Bytes
             modules).  Requires new findlib version (>= 1.5).

PR:		199226
Submitted by:	tkato432@yahoo.com
2015-08-16 12:40:39 +00:00

18 lines
916 B
OCaml

--- myocamlbuild.ml.orig 2015-03-17 03:34:14 UTC
+++ myocamlbuild.ml
@@ -1118,13 +1118,13 @@ let package_default =
(["oasis_library_lacaml_cclib"; "link"],
[
(OASISExpr.EBool true,
- S [A "-cclib"; A "-lblas"; A "-cclib"; A "-llapack"]);
+ S [A "-cclib"; A "-L/usr/local/lib"; A "-cclib"; A "-lblas"; A "-cclib"; A "-llapack"]);
(OASISExpr.ETest ("system", "macosx"),
S [A "-cclib"; A "-framework"; A "-cclib"; A "Accelerate"])
]);
(["oasis_library_lacaml_cclib"; "ocamlmklib"; "c"],
[
- (OASISExpr.EBool true, S [A "-lblas"; A "-llapack"]);
+ (OASISExpr.EBool true, S [A "-L/usr/local/lib"; A "-lblas"; A "-llapack"]);
(OASISExpr.ETest ("system", "macosx"),
S [A "-framework"; A "Accelerate"])
])