sys-libs/llvm-libunwind: Bump sys-devel/llvm dep for --cmakedir
authorMichał Górny <mgorny@gentoo.org>
Sun, 15 Jan 2017 14:09:07 +0000 (15:09 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 15 Jan 2017 14:30:59 +0000 (15:30 +0100)
Require LLVM 4.0 or newer for llvm-config to provide --cmakedir option.
This overrides the fallback CMake directory search done in libdir,
and therefore makes it possible to build the multilib runtime against
a single ABI variant of LLVM.

sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild

index 5929692bc84d54d7d562f0bd5100de74553bd589..a24d385f5b803afdbd3e2f27d9e1cec82778580b 100644 (file)
@@ -21,9 +21,8 @@ KEYWORDS=""
 IUSE="debug +static-libs"
 
 RDEPEND="!sys-libs/libunwind"
-# llvm-config and cmake files needed to get proper flags
-# (3.9.0 needed because cmake file install path changed)
-DEPEND=">=sys-devel/llvm-3.9.0[${MULTILIB_USEDEP}]"
+# LLVM 4 required for llvm-config --cmakedir
+DEPEND=">=sys-devel/llvm-4"
 
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo