aboutsummaryrefslogtreecommitdiff
path: root/audio/fluidsynth
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-07-25 19:02:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-07-25 19:02:17 +0000
commitad3b00da5015da2b8446755e1e21b7ea77afc6aa (patch)
treed29fef724dadfbad5c046010221466fb6996c5ba /audio/fluidsynth
parente3ddc6da70f9d58bbb9597f0161bb5b83b502072 (diff)
downloadports-ad3b00da5015da2b8446755e1e21b7ea77afc6aa.tar.gz
ports-ad3b00da5015da2b8446755e1e21b7ea77afc6aa.zip
- Mark broken when portaudio(2) support is requested and portaudio(1) is installed: doesn't build
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=362922
Diffstat (limited to 'audio/fluidsynth')
-rw-r--r--audio/fluidsynth/Makefile6
1 files changed, 6 insertions, 0 deletions
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 <bsd.port.options.mk>
+
+.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|^|#| ; \