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 083231396D0 for ; Sat, 12 Aug 2017 19:49:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47C541FC045; Sat, 12 Aug 2017 19:49:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 268FB1FC045 for ; Sat, 12 Aug 2017 19:49:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 047D73417BF for ; Sat, 12 Aug 2017 19:49:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F29376E8 for ; Sat, 12 Aug 2017 19:49:44 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1502567379.99a0c54af8f1af1ce9a7db8d99d595276ccb581c.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libclc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild X-VCS-Directories: dev-libs/libclc/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 99a0c54af8f1af1ce9a7db8d99d595276ccb581c X-VCS-Branch: master Date: Sat, 12 Aug 2017 19:49:44 +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: 4137c794-4295-417a-bb5a-5848a0d7445a X-Archives-Hash: 1805a9c3e7fc73029a42e78f011e82e6 commit: 99a0c54af8f1af1ce9a7db8d99d595276ccb581c Author: Robin H. Johnson gentoo org> AuthorDate: Sat Aug 12 19:47:06 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Aug 12 19:49:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a0c54a dev-libs/libclc: fix llvm-config path. clang path can be ccache-based, but llvm-config is not hooked by ccache, so find it better ourselves. Closes: https://bugs.gentoo.org/show_bug.cgi?id=624034 Package-Manager: portage-2.3.6 Signed-off-by: Robin H. Johnson gentoo.org> dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild index c0ac06980cb..003757a0998 100644 --- a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild +++ b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild @@ -39,13 +39,9 @@ DEPEND="${RDEPEND} ${PYTHON_DEPS}" src_configure() { - # we need to find llvm with matching clang version, so look for - # clang first, and then use llvm-config from the same location - local clang_path=$(type -P clang) || die - ./configure.py \ --with-cxx-compiler="$(tc-getCXX)" \ - --with-llvm-config="${clang_path%/*}/llvm-config" \ + --with-llvm-config="$(tc-getPROG LLVM_CONFIG llvm-config)" \ --prefix="${EPREFIX}/usr" || die }