From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 404D4139695 for ; Wed, 15 Feb 2017 12:48:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E47FE0C9A; Wed, 15 Feb 2017 12:47:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7CEABE0C9D for ; Wed, 15 Feb 2017 12:47:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7CD40341645 for ; Wed, 15 Feb 2017 12:47:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 856B648B6 for ; Wed, 15 Feb 2017 12:47:46 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1487162843.ff80562c7707b0a4d836c0b8b498dfc48cdedb9a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/lld/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/lld/lld-4.0.0_rc1.ebuild sys-devel/lld/lld-9999.ebuild X-VCS-Directories: sys-devel/lld/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ff80562c7707b0a4d836c0b8b498dfc48cdedb9a X-VCS-Branch: master Date: Wed, 15 Feb 2017 12:47:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 32545817-4235-4187-b569-044062f931ce X-Archives-Hash: c8f79131bf059026b15b6f6d531ce9f1 commit: ff80562c7707b0a4d836c0b8b498dfc48cdedb9a Author: Michał Górny gentoo org> AuthorDate: Mon Jan 30 18:07:56 2017 +0000 Commit: Michał Górny gentoo 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