aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-02-03 02:30:28 +0800
committerdanfe <danfe@FreeBSD.org>2012-02-03 02:30:28 +0800
commit15a38c90defa683a12e2752f3c4136746dd1e76a (patch)
treebcaf327ba868422f635f18aca1d8f0ac213a3ed9
parent1eb0e251fdf29ede2f03bed3629b68feb101aad5 (diff)
downloadfreebsd-ports-gnome-15a38c90defa683a12e2752f3c4136746dd1e76a.tar.gz
freebsd-ports-gnome-15a38c90defa683a12e2752f3c4136746dd1e76a.tar.zst
freebsd-ports-gnome-15a38c90defa683a12e2752f3c4136746dd1e76a.zip
PAE kernels are incompatible with legacy drivers only (for a while now), so
adjust pkg-message accordingly. Discussed with: Christian Zander from nVidia
-rw-r--r--x11/nvidia-driver/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 74dc1b812349..969cf872332f 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -25,6 +25,7 @@ ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/}
USE_XORG= xorg-server
USE_GL= gl
USE_LDCONFIG= yes
+
# NVIDIA_ROOT is not set in src/Makefile, which results in bogus -I/src
# passed to compiler and broken build on HEAD since r221320 when option
# -Wmissing-include-dirs was added for kernel sources. Until properly
@@ -172,6 +173,9 @@ post-install: .SILENT
.endif
# Some applications need this symlink (see PR ports/72877)
${LN} -sf libXvMCNVIDIA.so.1 ${PREFIX}/lib/libXvMCNVIDIA_dynamic.so.1
+.if ${NVVERSION} >= 1952200
+ ${REINPLACE_CMD} -e '/does not support PAE/,+1d' ${PKGMESSAGE}
+.endif
${ECHO_MSG}
${CAT} ${PKGMESSAGE}
${ECHO_MSG}