1 |
commit: c8473fe746afae1916c0cb7350142bf6c3c6e0fa |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 20:05:58 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 20:06:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8473fe7 |
7 |
|
8 |
dev-ml/ppx_tools: add ocamlopt useflag, bug #624170 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ppx_tools/ppx_tools-5.0.4.03.0.ebuild | 6 +++--- |
13 |
dev-ml/ppx_tools/ppx_tools-5.0.4.05.0.ebuild | 6 +++--- |
14 |
2 files changed, 6 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/ppx_tools/ppx_tools-5.0.4.03.0.ebuild b/dev-ml/ppx_tools/ppx_tools-5.0.4.03.0.ebuild |
17 |
index 752f91c602a..b77cef7d6d7 100644 |
18 |
--- a/dev-ml/ppx_tools/ppx_tools-5.0.4.03.0.ebuild |
19 |
+++ b/dev-ml/ppx_tools/ppx_tools-5.0.4.03.0.ebuild |
20 |
@@ -13,9 +13,9 @@ SRC_URI="https://github.com/alainfrisch/ppx_tools/archive/${MY_PV}.tar.gz -> ${P |
21 |
LICENSE="MIT" |
22 |
SLOT="0/${PV}" |
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc" |
24 |
-IUSE="" |
25 |
+IUSE="+ocamlopt" |
26 |
|
27 |
-DEPEND=">=dev-lang/ocaml-4.03.0:=" |
28 |
+DEPEND=">=dev-lang/ocaml-4.03.0:=[ocamlopt?]" |
29 |
RDEPEND="${DEPEND}" |
30 |
S="${WORKDIR}/${PN}-$(replace_version_separator 2 '-')" |
31 |
|
32 |
@@ -24,7 +24,7 @@ src_prepare() { |
33 |
} |
34 |
|
35 |
src_compile() { |
36 |
- emake -j1 |
37 |
+ emake -j1 $(usex ocamlopt "" "ARCH=none") |
38 |
} |
39 |
|
40 |
src_install() { |
41 |
|
42 |
diff --git a/dev-ml/ppx_tools/ppx_tools-5.0.4.05.0.ebuild b/dev-ml/ppx_tools/ppx_tools-5.0.4.05.0.ebuild |
43 |
index 4a923db8275..2ec6b114e82 100644 |
44 |
--- a/dev-ml/ppx_tools/ppx_tools-5.0.4.05.0.ebuild |
45 |
+++ b/dev-ml/ppx_tools/ppx_tools-5.0.4.05.0.ebuild |
46 |
@@ -13,14 +13,14 @@ SRC_URI="https://github.com/alainfrisch/ppx_tools/archive/${MY_PV}.tar.gz -> ${P |
47 |
LICENSE="MIT" |
48 |
SLOT="0/${PV}" |
49 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc" |
50 |
-IUSE="" |
51 |
+IUSE="+ocamlopt" |
52 |
|
53 |
-DEPEND=">=dev-lang/ocaml-4.05_beta:=" |
54 |
+DEPEND=">=dev-lang/ocaml-4.05_beta:=[ocamlopt?]" |
55 |
RDEPEND="${DEPEND}" |
56 |
S="${WORKDIR}/${PN}-$(replace_version_separator 2 '-')" |
57 |
|
58 |
src_compile() { |
59 |
- emake -j1 |
60 |
+ emake -j1 $(usex ocamlopt "" "ARCH=none") |
61 |
} |
62 |
|
63 |
src_install() { |