summaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-03-20 16:08:46 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-03-20 16:08:46 +0000
commite020d422ee2f31603bf7b89f6bfa8486be1b899f (patch)
tree8b96c6cacc16dc4a38aa8b1c930207c014afe663 /x11/nvidia-driver
parent- update to 1.6 (diff)
- 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]
Notes
Notes: svn path=/head/; revision=157751
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 00273727b8e4..18a5c30b7e4f 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 0255b5552985..f2516e474666 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