diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-05-19 00:06:31 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-05-19 00:18:01 +0200 |
commit | 2c97a76608ae27b38eea700cd5da6d279d81f612 (patch) | |
tree | 17ec27c3f814090df4c41879b269caa1f22f746d /x11-drivers/nvidia-drivers | |
parent | kernel-2.eclass: Support new location and file type for git sources >= 4.12 (diff) | |
download | gentoo-2c97a76608ae27b38eea700cd5da6d279d81f612.tar.gz gentoo-2c97a76608ae27b38eea700cd5da6d279d81f612.tar.bz2 gentoo-2c97a76608ae27b38eea700cd5da6d279d81f612.zip |
x11-drivers/nvidia-drivers: Run sanity checks twice as pkg_pretend log output is apparently buggy.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-drivers/nvidia-drivers')
6 files changed, 42 insertions, 7 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-304.135.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-304.135.ebuild index ec09f809357a..4a3c1c5a6129 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-304.135.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-304.135.ebuild @@ -72,8 +72,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" @@ -108,7 +107,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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-340.102.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-340.102.ebuild index f140c9b44f0f..b683c4e96732 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-340.102.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-340.102.ebuild @@ -71,7 +71,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" @@ -106,7 +106,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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-375.66.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-375.66.ebuild index 40658cbfd7f8..9d9e55a65a68 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-375.66.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-375.66.ebuild @@ -84,7 +84,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" @@ -119,7 +119,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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-378.13.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-378.13.ebuild index 89663b7a7b49..30637f9ee0b9 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-378.13.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-378.13.ebuild @@ -84,7 +84,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" @@ -119,7 +119,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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild index 7e2fa870aefe..dfff52a1e0e0 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-381.09.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 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 |