diff options
author | Eric Kow <eric.kow@gmail.com> | 2014-04-15 13:23:07 +0100 |
---|---|---|
committer | Eric Kow <eric.kow@gmail.com> | 2014-04-15 14:00:56 +0100 |
commit | 9e457049e450fce7547f90b033cd257bb793776c (patch) | |
tree | 72f299239b0ee74b32130c2048bb2914653b1180 /pkgs/applications/science/misc/megam/ocaml-includes.patch | |
parent | 61cc18c55ff34c1df2360d3709c9cf87bc829be7 (diff) | |
download | nixlib-9e457049e450fce7547f90b033cd257bb793776c.tar nixlib-9e457049e450fce7547f90b033cd257bb793776c.tar.gz nixlib-9e457049e450fce7547f90b033cd257bb793776c.tar.bz2 nixlib-9e457049e450fce7547f90b033cd257bb793776c.tar.lz nixlib-9e457049e450fce7547f90b033cd257bb793776c.tar.xz nixlib-9e457049e450fce7547f90b033cd257bb793776c.tar.zst nixlib-9e457049e450fce7547f90b033cd257bb793776c.zip |
megam: New package
Maximum Entropy (GA) Model Optimization Package
Diffstat (limited to 'pkgs/applications/science/misc/megam/ocaml-includes.patch')
-rw-r--r-- | pkgs/applications/science/misc/megam/ocaml-includes.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/megam/ocaml-includes.patch b/pkgs/applications/science/misc/megam/ocaml-includes.patch new file mode 100644 index 000000000000..b3a56643448c --- /dev/null +++ b/pkgs/applications/science/misc/megam/ocaml-includes.patch @@ -0,0 +1,21 @@ +diff -ru megam_0.92/Makefile megam_0.92-b/Makefile +--- megam_0.92/Makefile 2007-10-08 18:06:04.000000000 +0100 ++++ megam_0.92-b/Makefile 2013-11-25 10:14:20.000000000 +0000 +@@ -41,7 +41,7 @@ + # + # The Caml compilers. # + # You may fix here the path to access the Caml compiler on your machine +-CAMLC = ocamlc -g ++CAMLC = ocamlc -g $(WITHCLIBS) + CAMLOPT = ocamlopt -unsafe -ccopt -O4 -ccopt -ffast-math -inline 99999 + CAMLDEP = ocamldep + CAMLLEX = ocamllex +@@ -70,7 +70,7 @@ + WITHDBM =dbm.cma -cclib -lmldbm -cclib -lndbm + + #WITHCLIBS =-I /usr/lib/ocaml/3.09.2/caml +-WITHCLIBS =-I /usr/lib/ocaml/caml ++WITHCLIBS =-I $(CAML_INCLUDES) + + ################ End of user's variables ##################### + |