aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/nvidia-driver/Makefile4
-rw-r--r--x11/nvidia-driver/pkg-plist5
2 files changed, 5 insertions, 4 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index f2576c875f19..6dcb1bd3ea19 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 e9cf4798e765..096abd4f2613 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