commit: e6f35556d8f0ec4503ce7864d500ec1f08827882 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Wed Jan 19 20:22:37 2022 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Wed Jan 19 20:22:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f35556
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 <tupone <AT> gentoo.org> dev-ml/num/files/num-1.4-ocamlopt.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"
