commit: 746c2f724fe52babe6cd0baac68bb768650effbe Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sun Aug 24 18:40:56 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sun Aug 24 18:40:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746c2f72
dev-ml/num: find install Closes: https://bugs.gentoo.org/961950 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/num/files/num-1.6-META.patch | 14 ++++++++++++++ dev-ml/num/num-1.6.ebuild | 2 ++ 2 files changed, 16 insertions(+) diff --git a/dev-ml/num/files/num-1.6-META.patch b/dev-ml/num/files/num-1.6-META.patch new file mode 100644 index 000000000000..b10462c9ced4 --- /dev/null +++ b/dev-ml/num/files/num-1.6-META.patch @@ -0,0 +1,14 @@ +--- a/src/Makefile 2025-08-24 20:37:54.276261621 +0200 ++++ b/src/Makefile 2025-08-24 20:34:04.708721094 +0200 +@@ -156,9 +156,9 @@ + + install: num-top-install + $(INSTALL_DIR) $(DESTDIR)$(STDLIBDIR) +- cp META.num META ++ mv META.num META + $(OCAMLFIND) install num META +- rm -f META ++ mv META META.num + $(INSTALL_DATA) $(TOINSTALL) $(DESTDIR)$(STDLIBDIR) + ifeq "$(NATDYNLINK)" "true" + $(INSTALL_DLL) $(TOINSTALL_CMXS) $(DESTDIR)$(STDLIBDIR) diff --git a/dev-ml/num/num-1.6.ebuild b/dev-ml/num/num-1.6.ebuild index d3bacba07ea4..d097fa62875a 100644 --- a/dev-ml/num/num-1.6.ebuild +++ b/dev-ml/num/num-1.6.ebuild @@ -15,6 +15,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+ocamlopt" +PATCHES=( "${FILESDIR}"/${P}-META.patch ) + src_compile() { emake CFLAGS="${CFLAGS}" \ NATDYNLINK="$(usex ocamlopt true false)" \
