audio/fluidsynth currently has audio/jack as a dependency,
but doesn't use it. By default, the sndio audio driver is used
(thank you jakemsr). Even if jack is running, trying to use it
with fluidsynth results in

$ fluidsynth -a jack  
fluidsynth: error: Couldn't find the requested audio driver: jack
Failed to create the audio driver

Is anyone using fluidsynth with jack?
Below is a patch that

1) removes the jack dependency an explicitly --disable's it
2) explicitly disables some other unused stuff

        Jan


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/fluidsynth/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile    9 Dec 2012 07:29:57 -0000       1.15
+++ Makefile    6 Jan 2013 17:36:07 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =              SoundFont2 software synthesizer
 DISTNAME =             fluidsynth-1.0.9
-REVISION =             2
+REVISION =             3
 
 SHARED_LIBS =          fluidsynth      0.1
 
@@ -15,12 +15,10 @@ PERMIT_PACKAGE_FTP =        Yes
 PERMIT_DISTFILES_CDROM = Yes
 PERMIT_DISTFILES_FTP = Yes
 
-WANTLIB =              c jack m ncurses pthread readline sndio
+WANTLIB =              c m ncurses pthread readline sndio
 
 MASTER_SITES =         ${MASTER_SITE_SAVANNAH:=fluid/}
 
-LIB_DEPENDS =          audio/jack
-
 AUTOCONF_VERSION =     2.61
 AUTOMAKE_VERSION =     1.9
 
@@ -32,10 +30,17 @@ BUILD_DEPENDS +=        devel/libtool
 USE_LIBTOOL =          Yes
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS +=      ${CONFIGURE_SHARED} \
+                       --disable-dart \
                        --disable-lash \
                        --disable-ladcca \
+                       --disable-ladspa \
+                       --disable-midishare \
                        --disable-oss-support \
+                       --disable-alsa-support \
                        --disable-portaudio-support \
+                       --disable-coreaudio \
+                       --disable-coremidi \
+                       --disable-jack-support \
                        --disable-pulse-support
 
 post-patch:

Reply via email to