mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ml/num: find install
Closes: https://bugs.gentoo.org/961950 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
14
dev-ml/num/files/num-1.6-META.patch
Normal file
14
dev-ml/num/files/num-1.6-META.patch
Normal file
@@ -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)
|
||||
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user