Update dependency on llvm40 to llvm60 and constrain to FreeBSD 10.x.

PR:		231287
Approved by:	hselasky (maintainer)
Sponsored by:	DARPA, AFRL
This commit is contained in:
Brooks Davis 2018-09-25 22:09:55 +00:00
parent fb987c7c01
commit 4e29106617
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480701

View file

@ -82,14 +82,15 @@ CMAKE_ARGS+= -DZYN_DATADIR:STRING=${DATADIR}
CMAKE_ARGS+= -DZYN_EXAMPLESDIR:STRING=${EXAMPLESDIR}
.include <bsd.port.options.mk>
# Build fix for ZynAddSubFx
BUILD_DEPENDS+= clang40:devel/llvm40
CC= clang40
CXX= clang++40
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
# Build fix for ZynAddSubFx
BUILD_DEPENDS+= clang60:devel/llvm60
CC= clang60
CXX= clang++60
.endif
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
CFLAGS+= -DASM_F2I_YES
.endif