summaryrefslogtreecommitdiff
path: root/x11/nvidia-driver/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-03-03 13:45:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-03-03 13:45:32 +0000
commit4495902fe8135c5df0fbcfbe81fdbbec57e9b185 (patch)
tree845da082e6199cd3cac39c3085becae26e441490 /x11/nvidia-driver/Makefile
parent- Add a note for users of 7.X/-CURRENT [*] (diff)
Catch up with latest updates from NVidia:
- Update mainstream driver to version 169.12 - Update legacy drivers to versions 71.86.04 and 96.43.05
Notes
Notes: svn path=/head/; revision=208380
Diffstat (limited to 'x11/nvidia-driver/Makefile')
-rw-r--r--x11/nvidia-driver/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index c9ee0b71092d..23445478ffdb 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nvidia-driver
-DISTVERSION?= 169.07
+DISTVERSION?= 169.12
PORTREVISION?= 0 # For consistency with slave ports
CATEGORIES= x11 kld
MASTER_SITES= ${MASTER_SITE_NVIDIA}
@@ -42,11 +42,7 @@ OPTIONS= FREEBSD_AGP "Use FreeBSD AGP GART driver" off \
#
NVVERSION?= ${DISTVERSION:S/.//g}00
-EXTRA_PATCHES= ${PATCHDIR}/7667-patch-lib::Makefile \
-# Legacy versions still need the locking patch
-.if ${NVVERSION} < 1000000
-EXTRA_PATCHES+= ${PATCHDIR}/${NVVERSION:C/....$//}xx-patch-*
-.endif
+EXTRA_PATCHES= ${PATCHDIR}/7667-patch-lib::Makefile
.include <bsd.port.pre.mk>
@@ -107,7 +103,7 @@ post-patch: .SILENT
${WRKSRC}/src/nvidia_os.c
.endif
# Correct prototypes to fix the build with FreeBSD AGP support
-.if ${NVVERSION} == 1690700
+.if ${NVVERSION} >= 1690700
${REINPLACE_CMD} -e '337,338s/(/(nv_stack_t *, /' \
${WRKSRC}/src/nv-freebsd.h
.endif