$OpenBSD: patch-src_output_Makefile_am,v 1.1 2008/11/11 20:35:49 naddy Exp $
--- src/output/Makefile.am.orig	Fri Oct 31 12:05:34 2008
+++ src/output/Makefile.am	Fri Oct 31 12:07:41 2008
@@ -15,7 +15,7 @@ pkglib_LTLIBRARIES =
 # These are not tested and _very_ likely need work: aix alib hp os2 sgi mint
 
 # Use that sh/perl script to generate the module entries:
-#for i in alsa coreaudio esd jack nas oss portaudio pulse sdl sun win32 aix alib arts hp os2 sgi mint dummy; do echo $i; done |
+#for i in alsa coreaudio esd jack nas oss portaudio pulse sdl sndio sun win32 aix alib arts hp os2 sgi mint dummy; do echo $i; done |
 #perl -ne 'chomp; $big = uc($_); print <<EOT;
 #
 #if HAVE_$big
@@ -98,6 +98,14 @@ output_sdl_la_SOURCES = sdl.c
 output_sdl_la_LDFLAGS = -module -avoid-version -export-dynamic @SDL_LDFLAGS@
 output_sdl_la_CFLAGS  = @SDL_CFLAGS@
 output_sdl_la_LIBADD  = @SDL_LIBS@ 
+endif
+
+if HAVE_SNDIO
+pkglib_LTLIBRARIES += output_sndio.la
+output_sndio_la_SOURCES = sndio.c
+output_sndio_la_LDFLAGS = -module -avoid-version -export-dynamic @SNDIO_LDFLAGS@
+output_sndio_la_CFLAGS  = @SNDIO_CFLAGS@
+output_sndio_la_LIBADD  = @SNDIO_LIBS@
 endif
 
 if HAVE_SUN
