From: Benda Xu Date: Thu, 14 Nov 2019 02:08:17 +0000 (+0800) Subject: dev-util/nvidia-cuda-sdk: fix use flag "examples" in pkg_postinst(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=531f857d27336b63e79a58abcd40c5fdf65ebf32;p=gentoo.git dev-util/nvidia-cuda-sdk: fix use flag "examples" in pkg_postinst(). Suggested-By: Thomas Albers Closes: https://bugs.gentoo.org/700026 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Benda Xu --- diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild index aa1b4bfd2b89..3503fb5b2caa 100644 --- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild +++ b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild @@ -133,9 +133,9 @@ src_install() { } pkg_postinst() { - if use example && use prefix; then + if use examples && use prefix; then ewarn "Gentoo Prefix does not manage kernel modules. You need to make certain" - ewarn "the functionality counterpart to >=x11-drivers/nvidia-drivers-${DRIVER_PV}[uvm]" + ewarn "the function counterpart to >=x11-drivers/nvidia-drivers-${DRIVER_PV}[uvm]" ewarn "is available from the host" fi }