diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-28 16:45:42 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-28 16:45:42 +0000 |
commit | 876ba8672c97c637ffa5ef07fa84a77b0f6a2c4d (patch) | |
tree | d0878866f74cdff43e33b275a9d1cb8974113dd7 /dev-ml/camlidl | |
parent | Migrate to EAPI 2 in order to nuke built_with_use. (diff) | |
download | gentoo-2-876ba8672c97c637ffa5ef07fa84a77b0f6a2c4d.tar.gz gentoo-2-876ba8672c97c637ffa5ef07fa84a77b0f6a2c4d.tar.bz2 gentoo-2-876ba8672c97c637ffa5ef07fa84a77b0f6a2c4d.zip |
Migrate to EAPI 2 in order to nuke built_with_use.
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'dev-ml/camlidl')
-rw-r--r-- | dev-ml/camlidl/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ml/camlidl/camlidl-1.05.ebuild | 21 |
2 files changed, 10 insertions, 16 deletions
diff --git a/dev-ml/camlidl/ChangeLog b/dev-ml/camlidl/ChangeLog index 5c85f7fa7997..fcfa39ed612f 100644 --- a/dev-ml/camlidl/ChangeLog +++ b/dev-ml/camlidl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ml/camlidl # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.4 2009/04/15 04:55:39 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.5 2009/09/28 16:45:42 betelgeuse Exp $ + + 28 Sep 2009; Petteri Räty <betelgeuse@gentoo.org> camlidl-1.05.ebuild: + Migrate to EAPI 2 in order to nuke built_with_use. 15 Apr 2009; Alexis Ballier <aballier@gentoo.org> +files/includes.patch, +files/tests.patch, camlidl-1.05.ebuild: diff --git a/dev-ml/camlidl/camlidl-1.05.ebuild b/dev-ml/camlidl/camlidl-1.05.ebuild index f11cbf52094b..970a6aa4266a 100644 --- a/dev-ml/camlidl/camlidl-1.05.ebuild +++ b/dev-ml/camlidl/camlidl-1.05.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v 1.3 2009/04/15 04:55:39 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v 1.4 2009/09/28 16:45:42 betelgeuse Exp $ + +EAPI="2" inherit eutils toolchain-funcs @@ -11,20 +13,9 @@ LICENSE="QPL-1.0 LGPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" IUSE="" -DEPEND=">=dev-lang/ocaml-3.07" - -pkg_setup() { - if ! built_with_use --missing true dev-lang/ocaml ocamlopt; then - eerror "${PN} needs to be built with native code support from ocaml" - eerror "You first need to have a native code ocaml compiler." - eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." - die "Please install ocaml with ocamlopt useflag" - fi -} +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/tests.patch" epatch "${FILESDIR}/includes.patch" } @@ -54,5 +45,5 @@ src_install() { emake BINDIR="${D}/usr/bin" OCAMLLIB="${D}${libdir}" install || die # Documentation - dodoc README Changes + dodoc README Changes || die } |