From: Michał Górny Date: Fri, 9 Sep 2016 16:13:08 +0000 (+0200) Subject: sys-devel/llvm: Improve OCaml deps as suggested by aballier X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=77581a9e63e15d4d6a35ad7c48555a0e045d430a;p=gentoo.git sys-devel/llvm: Improve OCaml deps as suggested by aballier --- diff --git a/sys-devel/llvm/llvm-3.8.1-r2.ebuild b/sys-devel/llvm/llvm-3.8.1-r2.ebuild index 7db30d1df19d..195d8ec78c89 100644 --- a/sys-devel/llvm/llvm-3.8.1-r2.ebuild +++ b/sys-devel/llvm/llvm-3.8.1-r2.ebuild @@ -43,8 +43,7 @@ COMMON_DEPEND=" ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) ocaml? ( >=dev-lang/ocaml-4.00.0:0= - dev-ml/findlib - dev-ml/ocaml-ctypes + dev-ml/ocaml-ctypes:= !!<=sys-devel/llvm-3.7.0-r1[ocaml] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${COMMON_DEPEND} @@ -63,7 +62,8 @@ DEPEND="${COMMON_DEPEND} libffi? ( virtual/pkgconfig ) lldb? ( dev-lang/swig ) !!=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) ocaml? ( >=dev-lang/ocaml-4.00.0:0= - dev-ml/findlib - dev-ml/ocaml-ctypes + dev-ml/ocaml-ctypes:= !!<=sys-devel/llvm-3.7.0-r1[ocaml] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${COMMON_DEPEND} @@ -65,7 +64,8 @@ DEPEND="${COMMON_DEPEND} libffi? ( virtual/pkgconfig ) lldb? ( dev-lang/swig ) !!=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) ocaml? ( >=dev-lang/ocaml-4.00.0:0= - dev-ml/findlib - dev-ml/ocaml-ctypes )" + dev-ml/ocaml-ctypes:= )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} dev-lang/perl @@ -45,7 +44,8 @@ DEPEND="${RDEPEND} doc? ( dev-python/sphinx ) gold? ( sys-libs/binutils-libs ) libffi? ( virtual/pkgconfig ) - ocaml? ( test? ( dev-ml/ounit ) ) + ocaml? ( dev-ml/findlib + test? ( dev-ml/ounit ) ) !!