diff options
Diffstat (limited to 'dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild')
-rw-r--r-- | dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild index 241e495069ac..03574c8b01e7 100644 --- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild @@ -18,8 +18,10 @@ KEYWORDS="~amd64" RESTRICT="mirror fetch strip" -DEPEND="" -RDEPEND="dev-libs/ocl-icd" +COMMON="app-eselect/eselect-opencl + dev-libs/ocl-icd" +DEPEND="${COMMON}" +RDEPEND="${COMMON}" QA_PREBUILT="/opt/${SUPER_PN}/lib*/*" @@ -59,8 +61,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 } |