Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2020 20:01:56 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528543 - head/devel/ocaml-lacaml/files
Message-ID:  <202003162001.02GK1usN038849@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"])
              ])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003162001.02GK1usN038849>