$OpenBSD: patch-ext_Makefile_am,v 1.6 2011/03/07 19:44:35 ajacoutot Exp $
--- ext/Makefile.am.orig	Sun Jan  2 16:27:42 2011
+++ ext/Makefile.am	Tue Jan 25 18:18:05 2011
@@ -82,6 +82,12 @@ else
 LIBPNG_DIR =
 endif
 
+if USE_LIBSNDIO
+LIBSNDIO_DIR = libsndio
+else
+LIBSNDIO_DIR =
+endif
+
 # if USE_MIKMOD
 # MIKMOD_DIR = mikmod
 # else
@@ -147,6 +153,7 @@ SUBDIRS = \
 	$(LIBDV_DIR) \
 	$(LIBMNG_DIR) \
 	$(LIBPNG_DIR) \
+	$(LIBSNDIO_DIR) \
 	$(MIKMOD_DIR) \
 	$(PULSE_DIR) \
 	$(SHOUT2_DIR) \
@@ -169,6 +176,7 @@ DIST_SUBDIRS = \
 	jpeg \
 	libcaca \
 	libpng \
+	libsndio \
 	pulse \
 	raw1394 \
 	shout2 \
