commit: ff80562c7707b0a4d836c0b8b498dfc48cdedb9a Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jan 30 18:07:56 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Feb 15 12:47:23 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff80562c
sys-devel/lld: Support building against slotted LLVM sys-devel/lld/lld-4.0.0_rc1.ebuild | 4 ++-- sys-devel/lld/lld-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-devel/lld/lld-4.0.0_rc1.ebuild b/sys-devel/lld/lld-4.0.0_rc1.ebuild index cb624392d7..f927da85e4 100644 --- a/sys-devel/lld/lld-4.0.0_rc1.ebuild +++ b/sys-devel/lld/lld-4.0.0_rc1.ebuild @@ -9,7 +9,7 @@ EAPI=6 CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils python-any-r1 +inherit cmake-utils llvm python-any-r1 DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="http://llvm.org/" @@ -38,6 +38,7 @@ python_check_deps() { } pkg_setup() { + LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup use test && python-any-r1_pkg_setup } @@ -50,7 +51,6 @@ src_unpack() { } src_configure() { - local libdir=$(get_libdir) local mycmakeargs=( # TODO: fix rpaths #-DBUILD_SHARED_LIBS=ON diff --git a/sys-devel/lld/lld-9999.ebuild b/sys-devel/lld/lld-9999.ebuild index b4f23d3031..b6ef4ad043 100644 --- a/sys-devel/lld/lld-9999.ebuild +++ b/sys-devel/lld/lld-9999.ebuild @@ -9,7 +9,7 @@ EAPI=6 CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils git-r3 python-any-r1 +inherit cmake-utils git-r3 llvm python-any-r1 DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="http://llvm.org/" @@ -34,6 +34,7 @@ python_check_deps() { } pkg_setup() { + llvm_pkg_setup use test && python-any-r1_pkg_setup } @@ -53,7 +54,6 @@ src_unpack() { } src_configure() { - local libdir=$(get_libdir) local mycmakeargs=( -DBUILD_SHARED_LIBS=ON
