dev-util/nvidia-cuda-sdk: fix use flag "examples" in pkg_postinst().
authorBenda Xu <heroxbd@gentoo.org>
Thu, 14 Nov 2019 02:08:17 +0000 (10:08 +0800)
committerBenda Xu <heroxbd@gentoo.org>
Thu, 14 Nov 2019 02:09:11 +0000 (10:09 +0800)
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 <heroxbd@gentoo.org>
dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild

index aa1b4bfd2b892aa4074e2cd66482fd1bf99f6484..3503fb5b2caa65e6d0f74c1e3c43ec05550cbd42 100644 (file)
@@ -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
 }