ports/devel/ocaml-findlib/files/patch-configure
Alexey Dokuchaev 71f8685b42 devel/ocaml-findlib: transient (minor) update to version 1.7.3
There should be no user-visible changes, but it makes easier to
handle Num library which was split off the core OCaml starting
with 4.06.0 release.
2021-09-06 09:52:16 +00:00

13 lines
333 B
Plaintext

--- configure.orig 2016-11-18 13:04:45 UTC
+++ configure
@@ -516,7 +516,8 @@ fi
# bytes?
-if [ -f "${ocaml_core_stdlib}/bytes.cmi" ]; then
+if [ -f "${ocaml_core_stdlib}/bytes.cmi" -o \
+ -f "${ocaml_core_stdlib}/stdlib__bytes.cmi" ]; then
echo "bytes: found, installing fake library"
lbytes="bytes"
cbytes=0