From 52da72ebd5c98df5932e9602622cd3e624cd0efa Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Tue, 9 Nov 2004 09:37:32 +0000 Subject: [PATCH] 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) --- x11/nvidia-driver/Makefile | 3 ++- x11/nvidia-driver/pkg-plist | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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