net/waypipe: builds fine with clang 6 after r509126

https://gitlab.freedesktop.org/mstoeckl/waypipe/commit/9037dd244903
This commit is contained in:
Jan Beich 2019-09-14 14:07:58 +00:00
parent ba3985dbd7
commit 28a539bc0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512014

View File

@ -21,15 +21,6 @@ GL_ACCOUNT= mstoeckl
GL_COMMIT= f78ad85b04ef95daa9a1671aa0375d0e77d19b2f
PLIST_FILES= bin/${PORTNAME}
# XXX Drop after FreeBSD 12.0 EOL
.if exists(/usr/lib/clang/6.0.0) || exists(/usr/lib/clang/6.0.1)
.if ${CC} == cc && (${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == i386)
USES:= ${USES:Ncompiler*} # silence warning
BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
CC= clang${LLVM_DEFAULT}
.endif
.endif
OPTIONS_DEFINE= FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD
OPTIONS_DEFAULT=FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD