summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-304.135.ebuild9
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-340.102.ebuild8
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-375.66.ebuild8
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-378.13.ebuild8
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-381.09.ebuild8
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-381.22.ebuild8
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