commit: baa79e3d7e06a1c155ba6d4cdc3e36c63885dd46 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Tue Jan 24 07:46:46 2023 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Tue Jan 24 07:47:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa79e3d
dev-ml/ocaml-ctypes: fix shuffle Closes: https://bugs.gentoo.org/882669 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/ocaml-ctypes/files/ocaml-ctypes-0.20.0-shuffle.patch | 13 +++++++++++++ dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild | 4 +++- dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild | 4 +++- 3 files changed, 19 insertions(+), 2 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 new file mode 100644 index 000000000000..51bad2efdd7c --- /dev/null +++ b/dev-ml/ocaml-ctypes/files/ocaml-ctypes-0.20.0-shuffle.patch @@ -0,0 +1,13 @@ +--- a/Makefile 2023-01-24 08:35:02.515456277 +0100 ++++ b/Makefile 2023-01-24 08:35:45.459755298 +0100 +@@ -161,7 +161,9 @@ + $(INSTALL_HEADERS) \ + $(if $(filter yes,$($(PROJECT).install_native_objects)),$(NATIVE_OBJECTS))) + +-install: META-install $(PROJECTS:%=install-%) ++install: ++ $(MAKE) META-install ++ $(MAKE) $(PROJECTS:%=install-%) + + uninstall: + $(OCAMLFIND) remove ctypes diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild index a3fbc4c28994..46407af9f60c 100644 --- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild +++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,6 +25,8 @@ DEPEND="${RDEPEND} test? ( dev-ml/ounit2 dev-ml/lwt )" REQUIRED_USE="ocamlopt" +PATCHES=( "${FILESDIR}"/${P}-shuffle.patch ) + src_prepare() { sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die default diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild index 3b3fce5d0eaf..78e08ed8b8f7 100644 --- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild +++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,8 @@ DEPEND="${RDEPEND} test? ( dev-ml/ounit2 dev-ml/lwt )" REQUIRED_USE="ocamlopt" +PATCHES=( "${FILESDIR}"/${PN}-0.20.0-shuffle.patch ) + src_prepare() { sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die default