summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.141-r2.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-390.141-r1.ebuild)7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.143-r1.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-390.143.ebuild)7
2 files changed, 12 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.141-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.141-r2.ebuild
index 5c16a5b14be3..50b08991c3fb 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.141-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.141-r2.ebuild
@@ -138,6 +138,12 @@ src_prepare() {
default
+ # alternate tls library needed for 390's libglx.so (bug #785289)
+ mv tls/libnvidia-tls.so.${PV} . || die
+ if [[ -d 32 ]]; then
+ mv 32/tls/libnvidia-tls.so.${PV} 32 || die
+ fi
+
# prevent detection of incomplete kernel DRM support (bug #603818)
sed 's/defined(CONFIG_DRM)/defined(CONFIG_DRM_KMS_HELPER)/' \
-i kernel/conftest.sh || die
@@ -337,7 +343,6 @@ src_install() {
doman nvidia-smi.1
# install prebuilt-only libraries
- mv tls/libnvidia-tls.so.${PV} . || die # alt tls lib needed by libglx.so
multilib_foreach_abi nvidia-drivers_libs_install
einstalldocs
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.143.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.143-r1.ebuild
index 9475ceb6d034..3dcee051f4a4 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.143.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.143-r1.ebuild
@@ -138,6 +138,12 @@ src_prepare() {
default
+ # alternate tls library needed for 390's libglx.so (bug #785289)
+ mv tls/libnvidia-tls.so.${PV} . || die
+ if [[ -d 32 ]]; then
+ mv 32/tls/libnvidia-tls.so.${PV} 32 || die
+ fi
+
# prevent detection of incomplete kernel DRM support (bug #603818)
sed 's/defined(CONFIG_DRM)/defined(CONFIG_DRM_KMS_HELPER)/' \
-i kernel/conftest.sh || die
@@ -337,7 +343,6 @@ src_install() {
doman nvidia-smi.1
# install prebuilt-only libraries
- mv tls/libnvidia-tls.so.${PV} . || die # alt tls lib needed by libglx.so
multilib_foreach_abi nvidia-drivers_libs_install
einstalldocs