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.
This commit is contained in:
Tijl Coosemans
2019-07-10 15:41:55 +00:00
parent ebcd02b896
commit 814e54bde9

View File

@@ -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