From 531f857d27336b63e79a58abcd40c5fdf65ebf32 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Thu, 14 Nov 2019 10:08:17 +0800 Subject: [PATCH] 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 --- dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.26.2