ports/math/ocamlgsl/files/patch-setup.ml
John Marino 0ab15ba065 math/ocamlgsl: Update version 0.6.0 => 1.15.1
As part of this update, bsd.ocaml.mk has been updated to essentially
disable USE_OCAML_LDCONFIG for staged ports.  This means when all
ocaml ports are staged, USE_OCAML_LDCONFIG won't work at all.  It
breaks staging; I don't know what the long term plan is -- maybe some
sort of post-install script will arrive...

PR:		189039
Submitted by:	maintainer (Michael Gruenewald)
Portlint pets:	marino
2014-06-11 01:40:09 +00:00

20 lines
930 B
OCaml

--- setup.ml.orig 2014-04-26 21:42:25.000000000 +0200
+++ setup.ml 2014-04-26 21:42:34.000000000 +0200
@@ -6679,7 +6679,7 @@
{
pre_command = [(OASISExpr.EBool true, None)];
post_command =
- [(OASISExpr.EBool true, Some (("make", ["post-conf"])))]
+ [(OASISExpr.EBool true, Some (("gmake", ["post-conf"])))]
};
build_type = (`Build, "ocamlbuild", Some "0.4");
build_custom =
@@ -7856,7 +7856,7 @@
(OASISExpr.EFlag "docs", true)
];
doc_install = [(OASISExpr.EBool true, true)];
- doc_install_dir = "$docdir/api";
+ doc_install_dir = "$stagedir$docdir/api";
doc_title = "API reference for GSL";
doc_authors = [];
doc_abstract = None;