summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-01-24 22:25:52 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-01-24 22:26:19 +0100
commitf987066cfdf80b851b0114b321d669c0d1a89c76 (patch)
treee260b8372835926b34e451f891eb33f7eb316238
parentnet-wireless/iwd: add 2.2 (diff)
downloadgentoo-f987066cfdf80b851b0114b321d669c0d1a89c76.tar.gz
gentoo-f987066cfdf80b851b0114b321d669c0d1a89c76.tar.bz2
gentoo-f987066cfdf80b851b0114b321d669c0d1a89c76.zip
dev-ml/ocaml-ctypes: fix deps on Makefile
Closes: https://bugs.gentoo.org/882367 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r--dev-ml/ocaml-ctypes/files/ocaml-ctypes-0.20.0-shuffle.patch11
1 files changed, 11 insertions, 0 deletions
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 633abf770724..014b0437b1e8 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)