aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-04-22 15:04:57 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-04-22 15:04:57 +0000
commit164d168dbc7c5a615ef91cfb99d043021ff79f5f (patch)
tree38efcf94cd2ad3807dabf57666890da9ad40cebd /x11
parent7e5f2220c65f847af9942c1342142f4bdbe42161 (diff)
downloadports-164d168dbc7c5a615ef91cfb99d043021ff79f5f.tar.gz
ports-164d168dbc7c5a615ef91cfb99d043021ff79f5f.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/nvidia-driver/Makefile9
-rw-r--r--x11/nvidia-driver/distinfo8
2 files changed, 9 insertions, 8 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 7ba8681b75ef..b5a28685f4ea 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nvidia-driver
-DISTVERSION?= 285.05.09
+DISTVERSION?= 295.40
PORTREVISION?= 0 # As a reminder it can be overridden
CATEGORIES= x11 kld
MASTER_SITES= ${MASTER_SITE_NVIDIA}
@@ -98,14 +98,14 @@ LIB_DEPENDS+= m.3:${PORTSDIR}/misc/compat5x
post-patch: .SILENT
# We should support -CURRENT: kill the check
${REINPLACE_CMD} -e '24,26d' ${WRKSRC}/src/nv-freebsd.h
-# Adjust for updated d_mmap() in recent -CURRENT
+# Adjust legacy drivers for updated d_mmap() since early 9.X
.if ${OSVERSION} > 900005 && ${NVVERSION} < 1952200
${REINPLACE_CMD} -e 's/vm_offset_t offset/vm_ooffset_t offset/ ; \
s/vm_offset_t \*address/vm_paddr_t *address/ ; \
s/int nprot/&, vm_memattr_t *memattr/' \
${WRKSRC}/src/nvidia_dev.c
.endif
-# Catch up with FreeBSD SVN r225617
+# Catch up legacy drivers with FreeBSD SVN r225617
.if ${OSVERSION} > 900043 && ${NVVERSION} < 1952200
${REINPLACE_CMD} -e '/return/s/ioctl/sys_&/' \
${WRKSRC}/src/nvidia_linux.c
@@ -128,11 +128,12 @@ post-patch: .SILENT
.endif
${REINPLACE_CMD} -e '/exists/s/$$/ \&\& !defined(WITHOUT_LINUX)/' \
${WRKSRC}/lib/Makefile
+# Do not install VDPAU libraries, they are provided by `multimedia/libvdpau'
.if ${NVVERSION} >= 1802900
${REINPLACE_CMD} -e '/libvdpau[[:blank:]_][^n]/d ; \
s/name libvdpau/&_nvidia/' ${WRKSRC}/lib/Makefile
.endif
-# Don't build any binaries (native nvidia-settings and nvidia-xconfig are
+# Do not build any binaries (native nvidia-settings and nvidia-xconfig are
# provided by corresponding ports) and manuals
.if ${NVVERSION} < 974600 || ${NVVERSION} >= 1952200
${REINPLACE_CMD} -E 's/(extension).*/\1/' ${WRKSRC}/x11/Makefile
diff --git a/x11/nvidia-driver/distinfo b/x11/nvidia-driver/distinfo
index 196f2d9455c2..9e2d321918dd 100644
--- a/x11/nvidia-driver/distinfo
+++ b/x11/nvidia-driver/distinfo
@@ -1,7 +1,7 @@
-SHA256 (NVIDIA-FreeBSD-x86_64-285.05.09.tar.gz) = 757db4e25168a21419e33e1a9f0a3bb4bfbdad4ba79313bee90869903c96a336
-SIZE (NVIDIA-FreeBSD-x86_64-285.05.09.tar.gz) = 31650196
-SHA256 (NVIDIA-FreeBSD-x86-285.05.09.tar.gz) = d3ad51145cd57c70678ee659112a0973187b1b02e3062addadd0fe094b3c46fb
-SIZE (NVIDIA-FreeBSD-x86-285.05.09.tar.gz) = 30697710
+SHA256 (NVIDIA-FreeBSD-x86_64-295.40.tar.gz) = 876b35085a11dbe3d924800d19eb56df373664335efb650753e5c1bf05cd3bc2
+SIZE (NVIDIA-FreeBSD-x86_64-295.40.tar.gz) = 32994463
+SHA256 (NVIDIA-FreeBSD-x86-295.40.tar.gz) = f47b603f39dfd2e405949aab6fbc7abd4b24f43c6fb47b4f23d7618f32021364
+SIZE (NVIDIA-FreeBSD-x86-295.40.tar.gz) = 32029253
SHA256 (NVIDIA-FreeBSD-x86-173.14.31.tar.gz) = 98699bc8dc1dad86cebc2ed067b4fc5cd37b8540e897bb218f38ac80c4b4d875
SIZE (NVIDIA-FreeBSD-x86-173.14.31.tar.gz) = 17991684
SHA256 (NVIDIA-FreeBSD-x86-96.43.20.tar.gz) = e75fce272e72644d53e6ad3c0957fe173735a4b621726ce227ba8ecf9bd9c5cf