From: Marek Szuba Date: Fri, 30 Jun 2017 11:44:08 +0000 (+0159) Subject: dev-libs/amdgpu-pro-opencl: display "caveat emptor" warning after first installation. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1632a48d8a36534752a0aa1f54d3a04638b1a514;p=gentoo.git dev-libs/amdgpu-pro-opencl: display "caveat emptor" warning after first installation. Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild index c75b64c1091f..6d8da00df440 100644 --- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild @@ -60,6 +60,16 @@ src_install() { } pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + ewarn "Please note that using proprietary OpenCL libraries together with the" + ewarn "Open Source amdgpu stack is not officially supported by AMD. Do not ask them" + ewarn "for support in case of problems with this package." + ewarn "" + ewarn "Furthermore, if you have the whole AMDGPU-Pro stack installed this package" + ewarn "will almost certainly conflict with it. This might change once AMDGPU-Pro" + 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"