summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild')
-rw-r--r--dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild b/dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild
index f5fac788964e..73b64735ff87 100644
--- a/dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild
+++ b/dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild
@@ -3,6 +3,8 @@
EAPI=5
+inherit opam
+
MY_PV="${PV/_/+}"
MY_P="${PN}-${PV/_/-}"
@@ -15,10 +17,9 @@ SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE="test"
-DEPEND="dev-lang/ocaml:="
+DEPEND=""
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
- dev-ml/opam
test? ( dev-ml/menhir )
"
OPAMSWITCH="system"
@@ -30,12 +31,3 @@ src_prepare() {
# Disable Werror like behavior, doesnt build with ocaml 4.05 otherwise
sed -i -e 's/--dev//' Makefile || die
}
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- --mandir="${ED}/usr/share/man" \
- ${PN}.install || die
-}