summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild')
-rw-r--r--dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
index fd8832619846..b9f388b4b18e 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
@@ -18,8 +18,11 @@ KEYWORDS="~amd64"
RESTRICT="mirror fetch strip"
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
+COMMON="app-eselect/eselect-opencl
+ dev-libs/ocl-icd"
+DEPEND="${COMMON}
+ dev-util/patchelf"
+RDEPEND="${COMMON}"
QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
@@ -74,8 +77,5 @@ pkg_postinst() {
ewarn "has become officially supported by Gentoo."
fi
- elog "AMD OpenCL driver relies on dev-libs/ocl-icd to work. To enable it, please run"
- elog ""
- elog " eselect opencl set ocl-icd"
- elog ""
+ "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
}