aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver/Makefile
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-03-03 21:45:32 +0800
committerdanfe <danfe@FreeBSD.org>2008-03-03 21:45:32 +0800
commit0fdef0f4c7196a3399bdc0b0efa4f7cc5ec6fe3d (patch)
tree8f5535342f94fae27908f9fb3cdabad829832edd /x11/nvidia-driver/Makefile
parent2ff3b6d8eab78def20506791b86b018b2845ae2b (diff)
downloadfreebsd-ports-gnome-0fdef0f4c7196a3399bdc0b0efa4f7cc5ec6fe3d.tar.gz
freebsd-ports-gnome-0fdef0f4c7196a3399bdc0b0efa4f7cc5ec6fe3d.tar.zst
freebsd-ports-gnome-0fdef0f4c7196a3399bdc0b0efa4f7cc5ec6fe3d.zip
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
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