summaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-11-09 09:37:32 +0000
committerdanfe <danfe@FreeBSD.org>2004-11-09 09:37:32 +0000
commit632c7bfb9dbbd5554bdbe8a068ed49f30a1247b4 (patch)
tree3b3dc926ff4dfe087c744956534d66f34b8bc1f9 /x11/nvidia-driver
parent02fd8922e28143afde43d217de129b96257d2a9c (diff)
downloadFreeBSD-ports-632c7bfb9dbbd5554bdbe8a068ed49f30a1247b4.zip
FreeBSD-ports-632c7bfb9dbbd5554bdbe8a068ed49f30a1247b4.tar.gz
Install link libXvMCNVIDIA_dynamic.so.1 -> libXvMCNVIDIA.so.1. Some apps
seem to need this. Bump PORTREVISION. PR: ports/72877 Submitted by: ahze Approved by: fjoe (mentor, implicit)
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile3
-rw-r--r--x11/nvidia-driver/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 9704d68..69fbb37 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nvidia-driver
PORTVERSION= 1.0.${NVVERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://download.nvidia.com/freebsd/1.0-${NVVERSION}/ \
ftp://download.nvidia.com/freebsd/1.0-${NVVERSION}/ \
@@ -88,6 +88,7 @@ post-patch:
.endif
post-install:
+ ${LN} -sf libXvMCNVIDIA.so.1 ${PREFIX}/lib/libXvMCNVIDIA_dynamic.so.1
.if ${OSVERSION} < 500000
.for dev in 0 1 2 3
@${RM} -f /dev/nvidia${dev}
diff --git a/x11/nvidia-driver/pkg-plist b/x11/nvidia-driver/pkg-plist
index 07b6c6b..bb42170 100644
--- a/x11/nvidia-driver/pkg-plist
+++ b/x11/nvidia-driver/pkg-plist
@@ -18,6 +18,8 @@ lib/libGLcore.so.1
lib/libXvMCNVIDIA.so.1
@exec ln -sf %D/lib/libXvMCNVIDIA.so.1 %D/lib/libXvMCNVIDIA.so
@unexec rm -f %D/lib/libXvMCNVIDIA.so
+@exec ln -sf %D/lib/libXvMCNVIDIA.so.1 %D/lib/libXvMCNVIDIA_dynamic.so.1
+@unexec rm -f %D/lib/libXvMCNVIDIA_dynamic.so.1
lib/libnvidia-tls.so.1
@exec ln -sf %D/lib/libnvidia-tls.so.1 %D/lib/libnvidia-tls.so
@unexec rm -f %D/lib/libnvidia-tls.so
OpenPOWER on IntegriCloud