aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2019-07-10 15:41:55 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2019-07-10 15:41:55 +0000
commit814e54bde9ec25e5414086ee7f26a1dcff5084ba (patch)
tree9c30c2e6987a8d4f5e53a0456eeced7fa2196e92 /x11/nvidia-driver
parentebcd02b896a3e618ab69346f3cf77de1ff8a687f (diff)
Use LINUX_DEFAULT unmodified. The _64 suffix is no longer used. Also
compare with c6 instead of c7 because c6 is expected to be the only distribution that doesn't use libglvnd from now on.
Notes
Notes: svn path=/head/; revision=506356
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 11828a6c3ebf..a043e86d0de7 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -296,7 +296,7 @@ PLIST_SUB+= LINUXBASE=${LINUXBASE} \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLINUX}
-.if ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT:S/_64//} == c7
+.if ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT} != c6
USE_LINUX+= libglvnd
PLIST_RE+= '\,${LINUXBASE}.*libEGL\.so,d' \
'\,${LINUXBASE}.*libGL\.so,d' \
@@ -392,7 +392,7 @@ LINUX32_LIBS+= libGLdispatch.so.0 \
PLIST_RE+= '\,${LINUXBASE}.*libGLdispatch\.so,d' \
'\,${LINUXBASE}.*libOpenGL\.so,d'
.endif
-.endif # ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT:S/_64//} == c7
+.endif # ${NVVERSION} >= 390.042 && ${LINUX_DEFAULT} != c6
.if ${ARCH} == amd64
.if ${NVVERSION} >= 310.014