From ad3b00da5015da2b8446755e1e21b7ea77afc6aa Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 25 Jul 2014 19:02:17 +0000 Subject: [PATCH] - Mark broken when portaudio(2) support is requested and portaudio(1) is installed: doesn't build Approved by: portmgr blanket --- audio/fluidsynth/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/audio/fluidsynth/Makefile b/audio/fluidsynth/Makefile index 0ae604098223..f67c356fb62f 100644 --- a/audio/fluidsynth/Makefile +++ b/audio/fluidsynth/Makefile @@ -52,6 +52,12 @@ PULSEAUDIO_CMAKE_OFF= -Denable-pulseaudio:BOOL=FALSE SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile SNDFILE_CMAKe_OFF= -Denable-libsndfile:BOOL=FALSE +.include + +.if ${PORT_OPTIONS:MPORTAUDIO} && exists(${LOCALBASE}/include/portaudio.h) +BROKEN= portaudio2 support does not build in presence of old portaudio +.endif + post-patch: @${REINPLACE_CMD} -e \ '/Linux/s|^|#| ; \