From c310074fabdb6c6c5ac149bdec4767ff0432fd8c Mon Sep 17 00:00:00 2001 From: pi Date: Wed, 6 Dec 2017 17:30:06 +0000 Subject: audio/zynaddsubfx: fix build on cur, 10.x by force llvm40 PR: 220958 Submitted by: hselasky (maintainer) --- audio/zynaddsubfx/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'audio') diff --git a/audio/zynaddsubfx/Makefile b/audio/zynaddsubfx/Makefile index b1bc04653761..48998111a95f 100644 --- a/audio/zynaddsubfx/Makefile +++ b/audio/zynaddsubfx/Makefile @@ -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 + +# Build fix for ZynAddSubFx +BUILD_DEPENDS+= clang40:devel/llvm40 +CC= clang40 +CXX= clang++40 + .include .if ${ARCH} == "i386" || ${ARCH} == "amd64" -- cgit