diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2009-11-06 16:25:24 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2009-11-06 16:25:24 +0000 |
commit | a5b8b628a31f1566662e67ea8dbf4c2a40e7f1a3 (patch) | |
tree | d595605328bc0f17134a56fb12a5e0f6258be637 /x11-drivers | |
parent | Add USE=ps3 to control the PS3 video driver #290450 by Laurent G. (diff) | |
download | gentoo-2-a5b8b628a31f1566662e67ea8dbf4c2a40e7f1a3.tar.gz gentoo-2-a5b8b628a31f1566662e67ea8dbf4c2a40e7f1a3.tar.bz2 gentoo-2-a5b8b628a31f1566662e67ea8dbf4c2a40e7f1a3.zip |
more FreeBSD fixes
(Portage version: 2.1.7.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/nvidia-drivers/ChangeLog | 6 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-190.42-r3.ebuild | 24 |
2 files changed, 19 insertions, 11 deletions
diff --git a/x11-drivers/nvidia-drivers/ChangeLog b/x11-drivers/nvidia-drivers/ChangeLog index d0444b108843..42229343807c 100644 --- a/x11-drivers/nvidia-drivers/ChangeLog +++ b/x11-drivers/nvidia-drivers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-drivers/nvidia-drivers # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.198 2009/11/06 16:15:04 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.199 2009/11/06 16:25:24 cardoe Exp $ + + 06 Nov 2009; Doug Goldstein <cardoe@gentoo.org> + nvidia-drivers-190.42-r3.ebuild: + more FreeBSD fixes *nvidia-drivers-190.42-r3 (06 Nov 2009) diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-190.42-r3.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-190.42-r3.ebuild index fc1093240919..b10c8d724d44 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-190.42-r3.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-190.42-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-190.42-r3.ebuild,v 1.1 2009/11/06 16:15:04 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-190.42-r3.ebuild,v 1.2 2009/11/06 16:25:24 cardoe Exp $ EAPI="2" @@ -410,27 +410,31 @@ src_install-libs() { # The GLX libraries donvidia ${NV_ROOT}/lib ${libdir}/libGL.so ${sover} donvidia ${NV_ROOT}/lib ${libdir}/libGLcore.so ${sover} - donvidia ${NV_ROOT}/lib ${libdir}/tls/libnvidia-tls.so ${sover} + if use x86-fbsd; then + donvidia ${NV_ROOT}/lib ${libdir}/libnvidia-tls.so ${sover} + else + donvidia ${NV_ROOT}/lib ${libdir}/tls/libnvidia-tls.so ${sover} + fi #cuda - if [[ -f usr/${libdir}/libcuda.so.${PV} ]]; then - dolib.so usr/${libdir}/libcuda.so.${PV} - dosym libcuda.so.${PV} /usr/${inslibdir}/libcuda.so.1 + if [[ -f usr/${libdir}/libcuda.so.${sover} ]]; then + dolib.so usr/${libdir}/libcuda.so.${sover} + [[ ${sover} -ne 1 ]] && dosym libcuda.so.${sover} /usr/${inslibdir}/libcuda.so.1 dosym libcuda.so.1 /usr/${inslibdir}/libcuda.so fi #vdpau - if [[ -f usr/${libdir}/libvdpau_nvidia.so.${PV} ]]; then - dolib.so usr/${libdir}/libvdpau_nvidia.so.${PV} - dosym libvdpau_nvidia.so.${PV} /usr/${inslibdir}/libvdpau_nvidia.so + if [[ -f usr/${libdir}/libvdpau_nvidia.so.${sover} ]]; then + dolib.so usr/${libdir}/libvdpau_nvidia.so.${sover} + dosym libvdpau_nvidia.so.${sover} /usr/${inslibdir}/libvdpau_nvidia.so fi # OpenCL # NOTE: This isn't currently available in the publicly released drivers. if [[ -f usr/${libdir}/libOpenCL.so.1.0.0 ]]; then - dolib.so usr/${libdir}/libnvcompiler.so.${PV} - dosym libnvcompiler.so.${PV} /usr/${inslibdir}/libnvcompiler.so.1 + dolib.so usr/${libdir}/libnvcompiler.so.${sover} + [[ ${sover} -ne 1 ]] && dosym libnvcompiler.so.${sover} /usr/${inslibdir}/libnvcompiler.so.1 dosym libnvcompiler.so.1 /usr/${inslibdir}/libnvcompiler.so dolib.so usr/${libdir}/libOpenCL.so.1.0.0 |