aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-05-24 23:57:37 +0800
committerdanfe <danfe@FreeBSD.org>2005-05-24 23:57:37 +0800
commita3803ee78c964d5c2ba4dab00cfe045ebf263c5f (patch)
treec07f52f7ff00870c27208efa0ee3f7ac21042a07 /x11
parent960227b53b614122a7fbe8a2179cc46bdf9568bc (diff)
downloadfreebsd-ports-gnome-a3803ee78c964d5c2ba4dab00cfe045ebf263c5f.tar.gz
freebsd-ports-gnome-a3803ee78c964d5c2ba4dab00cfe045ebf263c5f.tar.zst
freebsd-ports-gnome-a3803ee78c964d5c2ba4dab00cfe045ebf263c5f.zip
Fix pkg-plist.
Based on PR: ports/81041 Submitted by: Sean Farley <sean-freebsd(at)farley.org>
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