summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-01-20 09:58:10 +0100
committerJeroen Roovers <jer@gentoo.org>2017-01-20 09:58:26 +0100
commita0e021f0ab451307520f3b3ff18f6d898041d33a (patch)
treea429b0ed637d03ff7c5637d1359532f6e27e2ffa
parentsci-libs/fftw: Stable for HPPA (bug #600616). (diff)
downloadgentoo-a0e021f0ab451307520f3b3ff18f6d898041d33a.tar.gz
gentoo-a0e021f0ab451307520f3b3ff18f6d898041d33a.tar.bz2
gentoo-a0e021f0ab451307520f3b3ff18f6d898041d33a.zip
x11-drivers/nvidia-drivers: Select libEGL version based on USE=compat (thanks to waltercool).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r2.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r1.ebuild)2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r2.ebuild
index 62f5559534d0..e01d187ebd19 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r2.ebuild
@@ -430,7 +430,7 @@ src_install-libs() {
if use X; then
NV_GLX_LIBRARIES=(
- "libEGL.so.1 ${GL_ROOT}"
+ "libEGL.so.$(usex compat ${NV_SOVER} 1) ${GL_ROOT}"
"libEGL_nvidia.so.${NV_SOVER} ${GL_ROOT}"
"libGL.so.$(usex compat ${NV_SOVER} 1.0.0) ${GL_ROOT}"
"libGLESv1_CM.so.1 ${GL_ROOT}"
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild
index 287ccca28f56..1a63f6618967 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild
@@ -428,7 +428,7 @@ src_install-libs() {
if use X; then
NV_GLX_LIBRARIES=(
- "libEGL.so.1 ${GL_ROOT}"
+ "libEGL.so.$(usex compat ${NV_SOVER} 1) ${GL_ROOT}"
"libEGL_nvidia.so.${NV_SOVER} ${GL_ROOT}"
"libGL.so.$(usex compat ${NV_SOVER} 1.0.0) ${GL_ROOT}"
"libGLESv1_CM.so.1 ${GL_ROOT}"