diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild index 7e2fa870aefe..dfff52a1e0e0 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild @@ -85,7 +85,7 @@ QA_PREBUILT="opt/* usr/lib*" S=${WORKDIR}/ -pkg_pretend() { +nvidia_drivers_versions_check() { if use amd64 && has_multilib_profile && \ [ "${DEFAULT_ABI}" != "amd64" ]; then eerror "This ebuild doesn't currently support changing your default ABI" @@ -120,7 +120,13 @@ pkg_pretend() { use kernel_linux && check_extra_config } +pkg_pretend() { + nvidia_drivers_versions_check +} + pkg_setup() { + nvidia_drivers_versions_check + # try to turn off distcc and ccache for people that have a problem with it export DISTCC_DISABLE=1 export CCACHE_DISABLE=1 |