diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-28 16:20:47 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-28 16:20:47 +0000 |
commit | 4c2e9c1f7a0cb254e00eeeced8e5db75fb12a711 (patch) | |
tree | 535c14baaea6e4254918eb172834e8918ae06f75 /dev-ml | |
parent | remove myself from metadata.xml (diff) | |
download | gentoo-2-4c2e9c1f7a0cb254e00eeeced8e5db75fb12a711.tar.gz gentoo-2-4c2e9c1f7a0cb254e00eeeced8e5db75fb12a711.tar.bz2 gentoo-2-4c2e9c1f7a0cb254e00eeeced8e5db75fb12a711.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')
-rw-r--r-- | dev-ml/ulex/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ml/ulex/ulex-1.1.ebuild | 21 |
2 files changed, 12 insertions, 17 deletions
diff --git a/dev-ml/ulex/ChangeLog b/dev-ml/ulex/ChangeLog index 481b93fc31b5..19de83aae47e 100644 --- a/dev-ml/ulex/ChangeLog +++ b/dev-ml/ulex/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ml/ulex -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ChangeLog,v 1.18 2008/06/07 21:30:47 aballier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ChangeLog,v 1.19 2009/09/28 16:20:47 betelgeuse Exp $ + + 28 Sep 2009; Petteri Räty <betelgeuse@gentoo.org> ulex-1.1.ebuild: + Migrate to EAPI 2 in order to nuke built_with_use. 07 Jun 2008; Alexis Ballier <aballier@gentoo.org> -ulex-0.8.ebuild, -ulex-1.0.ebuild: @@ -45,6 +48,7 @@ Use findlib eclass, move to stable. *ulex-0.5 (08 Aug 2004) +*ulex-0.4 (08 Aug 2004) 08 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> -ulex-0.2-r1.ebuild, -ulex-0.2.ebuild, +ulex-0.4.ebuild, +ulex-0.5.ebuild: diff --git a/dev-ml/ulex/ulex-1.1.ebuild b/dev-ml/ulex/ulex-1.1.ebuild index 22b42c8cbae2..9bf764915cc7 100644 --- a/dev-ml/ulex/ulex-1.1.ebuild +++ b/dev-ml/ulex/ulex-1.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ulex-1.1.ebuild,v 1.3 2008/06/07 16:10:10 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ulex-1.1.ebuild,v 1.4 2009/09/28 16:20:47 betelgeuse Exp $ -inherit eutils findlib +EAPI="2" -EAPI="1" +inherit eutils findlib DESCRIPTION="A lexer generator for unicode" HOMEPAGE="http://www.cduce.org" @@ -15,16 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="+ocamlopt" -DEPEND=">=dev-lang/ocaml-3.10.0" - -pkg_setup() { - if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then - eerror "In order to build ${PN} 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_compile() { emake all || die "failed to build bytecode" @@ -35,5 +26,5 @@ src_compile() { src_install() { findlib_src_install - dodoc README CHANGES + dodoc README CHANGES || die } |