summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-17 13:56:38 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-17 13:59:08 +0100
commit2887ee31dd18cb7854caf7f06a7c145e27c37260 (patch)
tree964bcc46d3046866b1abf3cb90c2325bd73d5912
parentdev-python/pylibpcap: Clean up old version (diff)
downloadgentoo-2887ee31dd18cb7854caf7f06a7c145e27c37260.tar.gz
gentoo-2887ee31dd18cb7854caf7f06a7c145e27c37260.tar.bz2
gentoo-2887ee31dd18cb7854caf7f06a7c145e27c37260.zip
dev-libs/libclc: Fix building against slotted LLVM
Use PATH lookup via 'type -P' instead of hardcoding llvm-config path.
-rw-r--r--dev-libs/libclc/libclc-0.1.0_pre20150305.ebuild2
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20151006.ebuild2
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild2
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild2
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild2
5 files changed, 5 insertions, 5 deletions
diff --git a/dev-libs/libclc/libclc-0.1.0_pre20150305.ebuild b/dev-libs/libclc/libclc-0.1.0_pre20150305.ebuild
index 6261b0761891..864067ba4b1b 100644
--- a/dev-libs/libclc/libclc-0.1.0_pre20150305.ebuild
+++ b/dev-libs/libclc/libclc-0.1.0_pre20150305.ebuild
@@ -47,7 +47,7 @@ src_unpack() {
src_configure() {
./configure.py \
- --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
+ --with-llvm-config="$(type -P llvm-config)" \
--prefix="${EPREFIX}/usr" || die
}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20151006.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20151006.ebuild
index 36d9086cdcbf..cdbff9ef1054 100644
--- a/dev-libs/libclc/libclc-0.2.0_pre20151006.ebuild
+++ b/dev-libs/libclc/libclc-0.2.0_pre20151006.ebuild
@@ -45,7 +45,7 @@ src_unpack() {
src_configure() {
./configure.py \
- --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
+ --with-llvm-config="$(type -P llvm-config)" \
--prefix="${EPREFIX}/usr" || die
}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild
index e183b3e21aac..01e9b43031ed 100644
--- a/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild
+++ b/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild
@@ -45,7 +45,7 @@ src_unpack() {
src_configure() {
./configure.py \
- --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
+ --with-llvm-config="$(type -P llvm-config)" \
--prefix="${EPREFIX}/usr" || die
}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild
index 512ca3ab03e6..6322c91ab42c 100644
--- a/dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild
+++ b/dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild
@@ -41,7 +41,7 @@ DEPEND="${RDEPEND}
src_configure() {
./configure.py \
- --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
+ --with-llvm-config="$(type -P llvm-config)" \
--prefix="${EPREFIX}/usr" || die
}
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild
index af8a295fd1d5..f988c29f6e33 100644
--- a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild
+++ b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild
@@ -41,7 +41,7 @@ DEPEND="${RDEPEND}
src_configure() {
./configure.py \
- --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
+ --with-llvm-config="$(type -P llvm-config)" \
--prefix="${EPREFIX}/usr" || die
}