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)
This commit is contained in:
Alexey Dokuchaev 2004-11-09 09:37:32 +00:00
parent 9702813cf2
commit 52da72ebd5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121177
2 changed files with 4 additions and 1 deletions

View File

@ -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}

View File

@ -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