From a3803ee78c964d5c2ba4dab00cfe045ebf263c5f Mon Sep 17 00:00:00 2001 From: danfe Date: Tue, 24 May 2005 15:57:37 +0000 Subject: Fix pkg-plist. Based on PR: ports/81041 Submitted by: Sean Farley --- x11/nvidia-driver/Makefile | 4 ++-- x11/nvidia-driver/pkg-plist | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'x11/nvidia-driver') diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index f2576c8..6dcb1bd 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -40,10 +40,10 @@ OPTIONS= FREEBSD_AGP "Use FreeBSD AGP GART driver" off \ NVVERSION= 6113 PORTREVISION= 4 EXTRA_PATCHES+= ${FILESDIR}/6113-patch-src::nvidia_pci.c -PLIST_SUB+= DIFFS="" +PLIST_SUB+= DIFFS="" DRVSO="@comment " .else NVVERSION= 7174 -PLIST_SUB+= DIFFS="@comment " +PLIST_SUB+= DIFFS="@comment " DRVSO="" .endif # XXX Should use ${PKG_INFO} XXX diff --git a/x11/nvidia-driver/pkg-plist b/x11/nvidia-driver/pkg-plist index e9cf479..096abd4 100644 --- a/x11/nvidia-driver/pkg-plist +++ b/x11/nvidia-driver/pkg-plist @@ -25,6 +25,7 @@ lib/libnvidia-tls.so.1 @unexec rm -f %D/lib/libnvidia-tls.so lib/libXvMCNVIDIA.a lib/modules/drivers/nvidia_drv.o +%%DRVSO%%lib/modules/drivers/nvidia_drv.so lib/modules/extensions/libglx.so.1 @exec ln -sf %D/lib/modules/extensions/libglx.so.1 %D/lib/modules/extensions/libglx.so @unexec rm -f %D/lib/modules/extensions/libglx.so @@ -70,7 +71,7 @@ nvidia.ko %%LINUX%%usr/lib/libnvidia-tls.so.1.0.%%NVVERSION%% %%LINUX%%@exec ln -sf %D/usr/lib/libGL.so.1.0.%%NVVERSION%% %D/usr/lib/libGL.so.1 %%LINUX%%@exec ln -sf %D/usr/lib/libGLcore.so.1.0.%%NVVERSION%% %D/usr/lib/libGLcore.so.1 -%%LINUX%%@exec ln -sf %D/usr/lib/libnvidia-tls.so.1.0.%%NVVERSION%% %D/usr/lib/liblibnvidia-tls.so.1 +%%LINUX%%@exec ln -sf %D/usr/lib/libnvidia-tls.so.1.0.%%NVVERSION%% %D/usr/lib/libnvidia-tls.so.1 %%LINUX%%@unexec rm -f %D/usr/lib/libGL.so.1 %%LINUX%%@unexec rm -f %D/usr/lib/libGLcore.so.1 -%%LINUX%%@unexec rm -f %D/usr/lib/liblibnvidia-tls.so.1 +%%LINUX%%@unexec rm -f %D/usr/lib/libnvidia-tls.so.1 -- cgit v1.1