dev-scheme/schoca: rm invalid dep,eapi bump
authorAmy Liffey <amynka@gentoo.org>
Sat, 14 Jan 2017 17:14:06 +0000 (18:14 +0100)
committerAmy Liffey <amynka@gentoo.org>
Sat, 14 Jan 2017 17:35:14 +0000 (18:35 +0100)
Package-Manager: portage-2.3.0

dev-scheme/schoca/schoca-0.3.0-r1.ebuild [moved from dev-scheme/schoca/schoca-0.3.0.ebuild with 81% similarity]

similarity index 81%
rename from dev-scheme/schoca/schoca-0.3.0.ebuild
rename to dev-scheme/schoca/schoca-0.3.0-r1.ebuild
index 8d91624c8c2860873a4c8898a067310403e2a323..2abac4317db57743f4a84b0492aa0608fb0c94a9 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
+EAPI="6"
 
 inherit eutils
 
@@ -17,7 +17,7 @@ IUSE="+ocamlopt"
 
 DEPEND="dev-ml/findlib
        dev-lang/ocaml[ocamlopt?]
-       || ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )"
+       dev-ml/camlp4[ocamlopt?]"
 RDEPEND="${DEPEND}"
 
 RESTRICT="installsources"
@@ -37,11 +37,11 @@ src_configure() {
 
 src_compile() {
        #parallel fails
-       emake -j1 || die "emake failed"
+       emake -j1
 }
 
 src_install() {
        use ocamlopt || export STRIP_MASK="*bin/schoca"
-       dodir "$(ocamlfind printconf destdir)" || die "dodir failed"
-       emake PREFIX="/usr" DESTDIR="${D}" DESTDIRFLAG="-destdir ${D}$(ocamlfind printconf destdir)" install || die "emake install failed"
+       dodir "$(ocamlfind printconf destdir)"
+       emake PREFIX="/usr" DESTDIR="${D}" DESTDIRFLAG="-destdir ${D}$(ocamlfind printconf destdir)" install
 }