--- ocamlify-0.0.2/setup.ml.orig 2023-06-28 10:46:34.572614650 -0600
+++ ocamlify-0.0.2/setup.ml 2023-06-28 13:09:40.114741530 -0600
@@ -1,3 +1,5 @@
+#use "topfind"
+#require "camlp-streams"
(********************************************************************************)
(* ocamlify: include files in OCaml code *)
(* *)
@@ -1791,7 +1793,7 @@ module OASISFeatures = struct
Map.Make
(struct
type t = plugin_kind * name
- let compare = Pervasives.compare
+ let compare = Stdlib.compare
end)
module Data =
@@ -3484,7 +3486,7 @@ module BaseEnv = struct
([], None)
(List.sort
(fun (o1, _) (o2, _) ->
- Pervasives.compare o2 o1)
+ Stdlib.compare o2 o1)
lst)
in
match res, errors with
@@ -6544,6 +6546,7 @@ module OCamlbuildCommon = struct
[];
args.extra;
+ ["-pkg"; "camlp-streams"];
begin
match args.plugin_tags with