aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2006-03-21 00:08:46 +0800
committerdanfe <danfe@FreeBSD.org>2006-03-21 00:08:46 +0800
commit3c8db9daf1d08451eaaa510649ffc56e3e8500c4 (patch)
treedadbdafc07dca762cf325b1d2e698b433b74a7a7 /x11/nvidia-driver
parentced7fd4532eadf516346a718a0bbaa389c2622fb (diff)
downloadfreebsd-ports-graphics-3c8db9daf1d08451eaaa510649ffc56e3e8500c4.tar.gz
freebsd-ports-graphics-3c8db9daf1d08451eaaa510649ffc56e3e8500c4.tar.zst
freebsd-ports-graphics-3c8db9daf1d08451eaaa510649ffc56e3e8500c4.zip
- Xorg 6.9 uses the .so extension instead of .a for the server extensions.
Fix the pkg-plist for that [1] - Remove the USE_REINPLACE since it is no longer needed [1] Please note that 4.X users will probably suffer from this as a side effect, however, taking them into account will further complicate the Makefile logic, which is already pretty hard to follow. Since I warned 4.X users about removing support for that old release of FreeBSD (and since I'd be really suprised to find out there's someone still using 4.X as their desktop) more than 8 months ago, plus we're not obliged to support ports on 4.X anymore, I think we can live with it. Once again, I'm encouraging people using this port use it with modern FreeBSD version and modern graphics card. PR: ports/92862 [1] Submitted by: Sean Farley <sean-freebsd(at)farley.org> [1]
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile4
-rw-r--r--x11/nvidia-driver/pkg-plist8
2 files changed, 6 insertions, 6 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 00273727b8e..18a5c30b7e4 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -19,7 +19,6 @@ COMMENT= NVidia graphics card binary drivers for hardware OpenGL rendering
ONLY_FOR_ARCHS= i386
-USE_REINPLACE= yes
USE_X_PREFIX= yes
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
INSTALLS_SHLIB= yes
@@ -80,10 +79,11 @@ EXTRA_PATCHES+= ${FILESDIR}/${NVVERSION}-*
.else
.if defined(WITH_LEGACY_GPU_SUPPORT)
NVVERSION= 7174
-PORTREVISION= 2
+PORTREVISION= 3
EXTRA_PATCHES+= ${FILESDIR}/6113-patch-lib::Makefile
.else
NVVERSION= 8178
+PORTREVISION= 1
EXTRA_PATCHES+= ${FILESDIR}/7667-*
.endif
.if ${OSVERSION} >= 600033
diff --git a/x11/nvidia-driver/pkg-plist b/x11/nvidia-driver/pkg-plist
index 0255b555298..f2516e47466 100644
--- a/x11/nvidia-driver/pkg-plist
+++ b/x11/nvidia-driver/pkg-plist
@@ -1,12 +1,12 @@
@comment I can't add the below files to the package because pkg_delete
@comment will complain when removing this package:
-@comment lib/modules/extensions/XXX-libglx.a.%%XLIBVERSION%%
-@comment lib/modules/extensions/XXX-libGLcore.a.%%XLIBVERSION%%
+@comment lib/modules/extensions/XXX-libglx.so.%%XLIBVERSION%%
+@comment lib/modules/extensions/XXX-libGLcore.so.%%XLIBVERSION%%
@comment lib/XXX-libGL.a.%%XLIBVERSION%%
@comment lib/XXX-libGL.so.1.%%XLIBVERSION%%
@comment They are however restored when this package is removed:
-@unexec mv -f %D/lib/modules/extensions/XXX-libglx.a.%%%%.%%XSERVVERSION%% %D/lib/modules/extensions/libglx.a
-@unexec mv -f %D/lib/modules/extensions/XXX-libGLcore.a.%%%%.%%XSERVVERSION%% %D/lib/modules/extensions/libGLcore.a
+@unexec mv -f %D/lib/modules/extensions/XXX-libglx.so.%%%%.%%XSERVVERSION%% %D/lib/modules/extensions/libglx.so
+@unexec mv -f %D/lib/modules/extensions/XXX-libGLcore.so.%%%%.%%XSERVVERSION%% %D/lib/modules/extensions/libGLcore.so
@unexec mv -f %D/lib/XXX-libGL.a.%%%%.%%XLIBVERSION%% %D/lib/libGL.a
lib/libGL.so.1
@unexec mv -f %D/lib/XXX-libGL.so.1.%%%%.%%XLIBVERSION%% %D/lib/libGL.so.1