summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2022-06-07 14:10:38 +0800
committerBenda Xu <heroxbd@gentoo.org>2022-06-21 16:38:40 +0800
commit22d02ac13564e69c4235cc7a2e85b3c957e2e23c (patch)
tree0175bd72889e8db69beeeeaf3fe4350570d14802 /dev-libs/ocl-icd
parentkde-apps/kdenlive: Drop obsolete optfeature (diff)
downloadgentoo-22d02ac13564e69c4235cc7a2e85b3c957e2e23c.tar.gz
gentoo-22d02ac13564e69c4235cc7a2e85b3c957e2e23c.tar.bz2
gentoo-22d02ac13564e69c4235cc7a2e85b3c957e2e23c.zip
dev-libs/ocl-icd: change the vendors dir when use prefix
Closes: https://github.com/gentoo/gentoo/pull/25785 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-libs/ocl-icd')
-rw-r--r--dev-libs/ocl-icd/ocl-icd-2.3.0.ebuild5
-rw-r--r--dev-libs/ocl-icd/ocl-icd-2.3.1.ebuild3
2 files changed, 5 insertions, 3 deletions
diff --git a/dev-libs/ocl-icd/ocl-icd-2.3.0.ebuild b/dev-libs/ocl-icd/ocl-icd-2.3.0.ebuild
index 341d58d9a219..84890c9fc9b8 100644
--- a/dev-libs/ocl-icd/ocl-icd-2.3.0.ebuild
+++ b/dev-libs/ocl-icd/ocl-icd-2.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -37,7 +37,8 @@ src_prepare() {
multilib_src_configure() {
# dev-util/opencl-headers ARE official Khronos Group headers, what this option
# does is disable the use of the bundled ones
- ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers
+ ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers \
+ --enable-custom-vendordir="${EPREFIX}/etc/OpenCL/vendors"
}
multilib_src_compile() {
diff --git a/dev-libs/ocl-icd/ocl-icd-2.3.1.ebuild b/dev-libs/ocl-icd/ocl-icd-2.3.1.ebuild
index 332354cf47a6..c991dc0798f9 100644
--- a/dev-libs/ocl-icd/ocl-icd-2.3.1.ebuild
+++ b/dev-libs/ocl-icd/ocl-icd-2.3.1.ebuild
@@ -33,7 +33,8 @@ src_prepare() {
multilib_src_configure() {
# dev-util/opencl-headers ARE official Khronos Group headers, what this option
# does is disable the use of the bundled ones
- ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers
+ ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers \
+ --enable-custom-vendordir="${EPREFIX}/etc/OpenCL/vendors"
}
multilib_src_compile() {