aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-11-09 17:37:32 +0800
committerdanfe <danfe@FreeBSD.org>2004-11-09 17:37:32 +0800
commit632c7bfb9dbbd5554bdbe8a068ed49f30a1247b4 (patch)
tree3b3dc926ff4dfe087c744956534d66f34b8bc1f9 /x11/nvidia-driver
parent02fd8922e28143afde43d217de129b96257d2a9c (diff)
downloadfreebsd-ports-gnome-632c7bfb9dbbd5554bdbe8a068ed49f30a1247b4.tar.gz
freebsd-ports-gnome-632c7bfb9dbbd5554bdbe8a068ed49f30a1247b4.tar.zst
freebsd-ports-gnome-632c7bfb9dbbd5554bdbe8a068ed49f30a1247b4.zip
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 9704d6888cc6..69fbb373aebf 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 07b6c6b0b3ad..bb421706b6c9 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