1 |
commit: 333e12f335f8bee2c03dc2660483b3459e0b71d8 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 6 12:28:00 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 6 12:30:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333e12f3 |
7 |
|
8 |
dev-ml/reason-parser: update to opam.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/reason-parser/reason-parser-2.0.0.ebuild | 13 +------------ |
13 |
1 file changed, 1 insertion(+), 12 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/reason-parser/reason-parser-2.0.0.ebuild b/dev-ml/reason-parser/reason-parser-2.0.0.ebuild |
16 |
index 6313382e5d9..2ec81a73544 100644 |
17 |
--- a/dev-ml/reason-parser/reason-parser-2.0.0.ebuild |
18 |
+++ b/dev-ml/reason-parser/reason-parser-2.0.0.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
-inherit findlib eutils |
24 |
+inherit findlib eutils opam |
25 |
|
26 |
DESCRIPTION="Meta Language Toolchain" |
27 |
HOMEPAGE="https://github.com/facebook/reason" |
28 |
@@ -15,7 +15,6 @@ KEYWORDS="~amd64" |
29 |
IUSE="+ocamlopt" |
30 |
|
31 |
DEPEND=" |
32 |
- dev-lang/ocaml:=[ocamlopt?] |
33 |
>=dev-ml/menhir-20170418:= |
34 |
dev-ml/merlin-extend:= |
35 |
dev-ml/result:= |
36 |
@@ -26,7 +25,6 @@ DEPEND=" |
37 |
RDEPEND="${DEPEND}" |
38 |
DEPEND="${DEPEND} |
39 |
dev-ml/ocamlbuild |
40 |
- dev-ml/opam |
41 |
" |
42 |
|
43 |
S="${WORKDIR}/${PN}" |
44 |
@@ -39,12 +37,3 @@ src_compile() { |
45 |
--native-dynlink "$(usex ocamlopt true false)" \ |
46 |
|| die |
47 |
} |
48 |
- |
49 |
-src_install() { |
50 |
- opam-installer -i \ |
51 |
- --prefix="${ED}/usr" \ |
52 |
- --libdir="${D}/$(ocamlc -where)" \ |
53 |
- --docdir="${ED}/usr/share/doc/${PF}" \ |
54 |
- --mandir="${ED}/usr/share/man" \ |
55 |
- ${PN}.install || die |
56 |
-} |