Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/num/files/
Date: Wed, 19 Jan 2022 20:23:02
Message-Id: 1642623757.e6f35556d8f0ec4503ce7864d500ec1f08827882.tupone@gentoo
1 commit: e6f35556d8f0ec4503ce7864d500ec1f08827882
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 19 20:22:37 2022 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 19 20:22:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f35556
7
8 dev-ml/num: fix install with -ocamlopt
9
10 Closes: https://bugs.gentoo.org/831496
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
13
14 dev-ml/num/files/num-1.4-ocamlopt.patch | 12 ++++++++++++
15 1 file changed, 12 insertions(+)
16
17 diff --git a/dev-ml/num/files/num-1.4-ocamlopt.patch b/dev-ml/num/files/num-1.4-ocamlopt.patch
18 index 90699b99474c..6db5015e1d9a 100644
19 --- a/dev-ml/num/files/num-1.4-ocamlopt.patch
20 +++ b/dev-ml/num/files/num-1.4-ocamlopt.patch
21 @@ -13,3 +13,15 @@
22 all:: nums.cmxs
23 endif
24
25 +@@ -70,10 +70,10 @@
26 + # is installed via findlib
27 +
28 + TOINSTALL=nums.cma libnums.$(A) $(CMIS) $(CMIS:.cmi=.mli) $(CMIS:.cmi=.cmti)
29 ++ifeq "$(NATDYNLINK)" "true"
30 + ifneq "$(ARCH)" "none"
31 + TOINSTALL+=nums.cmxa nums.$(A) $(CMXS)
32 + endif
33 +-ifeq "$(NATDYNLINK)" "true"
34 + TOINSTALL+=nums.cmxs
35 + endif
36 + ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"