From e6f35556d8f0ec4503ce7864d500ec1f08827882 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Wed, 19 Jan 2022 21:22:37 +0100 Subject: dev-ml/num: fix install with -ocamlopt Closes: https://bugs.gentoo.org/831496 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone --- dev-ml/num/files/num-1.4-ocamlopt.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'dev-ml/num/files/num-1.4-ocamlopt.patch') diff --git a/dev-ml/num/files/num-1.4-ocamlopt.patch b/dev-ml/num/files/num-1.4-ocamlopt.patch index 90699b99474c..6db5015e1d9a 100644 --- a/dev-ml/num/files/num-1.4-ocamlopt.patch +++ b/dev-ml/num/files/num-1.4-ocamlopt.patch @@ -13,3 +13,15 @@ all:: nums.cmxs endif +@@ -70,10 +70,10 @@ + # is installed via findlib + + TOINSTALL=nums.cma libnums.$(A) $(CMIS) $(CMIS:.cmi=.mli) $(CMIS:.cmi=.cmti) ++ifeq "$(NATDYNLINK)" "true" + ifneq "$(ARCH)" "none" + TOINSTALL+=nums.cmxa nums.$(A) $(CMXS) + endif +-ifeq "$(NATDYNLINK)" "true" + TOINSTALL+=nums.cmxs + endif + ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true" -- cgit v1.2.3