svn commit: r528543 - head/devel/ocaml-lacaml/files
Steve Wills
swills at FreeBSD.org
Mon Mar 16 20:01:56 UTC 2020
Author: swills
Date: Mon Mar 16 20:01:55 2020
New Revision: 528543
URL: https://svnweb.freebsd.org/changeset/ports/528543
Log:
devel/ocaml-lacaml: fix patch to make REINPLACE_CMD effective
Modified:
head/devel/ocaml-lacaml/files/patch-myocamlbuild.ml (contents, props changed)
Modified: head/devel/ocaml-lacaml/files/patch-myocamlbuild.ml
==============================================================================
--- head/devel/ocaml-lacaml/files/patch-myocamlbuild.ml Mon Mar 16 19:59:27 2020 (r528542)
+++ head/devel/ocaml-lacaml/files/patch-myocamlbuild.ml Mon Mar 16 20:01:55 2020 (r528543)
@@ -5,14 +5,14 @@
[
(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"]);
++ S [A "-cclib"; A "-L%%LOCALBASE%%/lib"; A "-cclib"; A "%%BLASLIB%%"; A "-cclib"; A "%%LAPACKLIB%%"]);
(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.EBool true, S [A "-L%%LOCALBASE%%/lib"; A "%%BLASLIB%%"; A "%%LAPACKLIB%%"]);
(OASISExpr.ETest ("system", "macosx"),
S [A "-framework"; A "Accelerate"])
])
More information about the svn-ports-all
mailing list