1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

audio/zynaddsubfx: fix build on cur, 10.x by force llvm40

PR:		220958
Submitted by:	hselasky (maintainer)
This commit is contained in:
Kurt Jaeger 2017-12-06 17:30:06 +00:00
parent 5acb248766
commit 69df8d1cf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455665

View File

@ -41,8 +41,8 @@ GUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig
GUI_ON= -DGuiModule:STRING=fltk
GUI_CMAKE_OFF= -DGuiModule:STRING=OFF
GUI_USE+= XORG=x11,xext,xfixes,xcursor,ice,sm,xpm,xinerama,xft
GUI_USE+= GL=glu
GUI_USE+= XORG=x11,xext,xfixes,xcursor,xrender,ice,sm,xpm,xinerama,xft
GUI_USE+= GL=gl,glu
GUI_USES= jpeg
OSS_CMAKE_ON= -DOssEnable:BOOL=ON
@ -77,6 +77,13 @@ PORTEXAMPLES= *
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 ${ARCH} == "i386" || ${ARCH} == "amd64"