From f987066cfdf80b851b0114b321d669c0d1a89c76 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Tue, 24 Jan 2023 22:25:52 +0100 Subject: [PATCH] dev-ml/ocaml-ctypes: fix deps on Makefile Closes: https://bugs.gentoo.org/882367 Signed-off-by: Alfredo Tupone --- .../files/ocaml-ctypes-0.20.0-shuffle.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-ml/ocaml-ctypes/files/ocaml-ctypes-0.20.0-shuffle.patch b/dev-ml/ocaml-ctypes/files/ocaml-ctypes-0.20.0-shuffle.patch index 633abf7707243..014b0437b1e81 100644 --- a/dev-ml/ocaml-ctypes/files/ocaml-ctypes-0.20.0-shuffle.patch +++ b/dev-ml/ocaml-ctypes/files/ocaml-ctypes-0.20.0-shuffle.patch @@ -10,3 +10,14 @@ uninstall: $(OCAMLFIND) remove ctypes +--- a/Makefile.rules 2023-01-24 22:19:00.571780005 +0100 ++++ b/Makefile.rules 2023-01-24 22:18:06.710631483 +0100 +@@ -99,7 +99,7 @@ + $(BUILDDIR)/dll%_stubs_xen$(EXTDLL): $$(XEN_OBJECTS) + $(OCAMLMKLIB) -o $(BUILDDIR)/$*_stubs_xen $^ $(OCAMLMKLIB_FLAGS) $(OCAMLMKLIB_EXTRA_FLAGS) + +-$(BUILDDIR)/%.cmxs : $$(NATIVE_OBJECTS) ++$(BUILDDIR)/%.cmxs : $$(NATIVE_OBJECTS) $(C_OBJECTS) + $(OCAMLFIND) opt -shared -linkall $(OCAMLFLAGS) $(THREAD_FLAG) $(OCAMLFIND_PACKAGE_FLAGS) -o $@ $(NATIVE_OBJECTS) $(C_OBJECTS) $(OCAML_LINK_FLAGS) + + $(BUILDDIR)/%.cma: $$(BYTE_OBJECTS)