ports/math/why3/files/patch-configure
John Marino ca546db10d math/why3: Unbreak after ocaml-findlib change
Use the same technique madpilot used on x11-toolkits/ocaml-lablgtk2
to restore the build after the (unexpected) changed to the output
of ocamlfindlib during its update to 1.7.1

While here, document previously unknown ocamlfind requirement.
2017-01-29 23:39:24 +00:00

11 lines
346 B
Text

--- configure.orig 2014-03-14 15:01:05 UTC
+++ configure
@@ -3427,7 +3427,7 @@ fi
#if ocamlfind is used it gives the install path for ocaml library
if test "$USEOCAMLFIND" = yes; then
- OCAMLINSTALLLIB=$(ocamlfind printconf destdir)
+ OCAMLINSTALLLIB=$(ocamlfind printconf destdir | sed 's/:.*//')
else
OCAMLINSTALLLIB=$OCAMLLIB
fi