diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-02-07 13:42:12 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-02-07 13:42:12 +0000 |
commit | 10615e03dbf878ca916b1c1bff622b37ace0ed97 (patch) | |
tree | b1e2a55df615f88c036f4cd844b766fa90400cbb /eclass | |
parent | Restore the 1.0 branch as this one could be unmasked rather soonish, 1.1 will... (diff) | |
download | gentoo-2-10615e03dbf878ca916b1c1bff622b37ace0ed97.tar.gz gentoo-2-10615e03dbf878ca916b1c1bff622b37ace0ed97.tar.bz2 gentoo-2-10615e03dbf878ca916b1c1bff622b37ace0ed97.zip |
automatically add subslot deps on ocaml for eapis that support it
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/oasis.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/oasis.eclass b/eclass/oasis.eclass index 86bdf922eaa2..1aac2675ff48 100644 --- a/eclass/oasis.eclass +++ b/eclass/oasis.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/oasis.eclass,v 1.3 2012/03/27 22:44:41 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/oasis.eclass,v 1.4 2013/02/07 13:42:12 aballier Exp $ # @ECLASS: oasis.eclass # @MAINTAINER: @@ -46,6 +46,8 @@ inherit multilib findlib eutils base case ${EAPI:-0} in 0|1|2) die "You need at least EAPI-3 to use oasis.eclass";; + 3|4) RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]";; + *) RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]";; esac IUSE="+ocamlopt" @@ -53,7 +55,6 @@ IUSE="+ocamlopt" [ -n "${OASIS_BUILD_DOCS}" ] && IUSE="${IUSE} doc" [ -n "${OASIS_BUILD_TESTS}" ] && IUSE="${IUSE} test" -RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]" DEPEND="${RDEPEND}" # @FUNCTION: oasis_use_enable |