openbsd-ports/audio/sox/patches/patch-src_Makefile_am
ratchov 4def6dd506 add libsndio backend for sox.
bits and ok from naddy@
2009-01-16 16:42:56 +00:00

28 lines
895 B
Plaintext

$OpenBSD: patch-src_Makefile_am,v 1.1 2009/01/16 16:42:56 ratchov Exp $
--- src/Makefile.am.orig Thu Jan 8 21:57:05 2009
+++ src/Makefile.am Thu Jan 8 21:59:19 2009
@@ -239,6 +239,11 @@ libsox_fmt_oss_la_SOURCES = oss.c
libsox_fmt_oss_la_LIBADD = libsox.la @OSS_LIBS@
pkglib_LTLIBRARIES += libsox_fmt_oss.la
endif
+if HAVE_SNDIO
+libsox_fmt_sndio_la_SOURCES = sndio.c
+libsox_fmt_sndio_la_LIBADD = libsox.la @SNDIO_LIBS@
+pkglib_LTLIBRARIES += libsox_fmt_sndio.la
+endif
if HAVE_SUN_AUDIO
libsox_fmt_sunau_la_SOURCES = sunaudio.c
libsox_fmt_sunau_la_LIBADD = libsox.la
@@ -360,6 +365,11 @@ if HAVE_OSS
libsox_la_SOURCES += oss.c
libsox_la_LIBADD += @OSS_LIBS@
sox_LDADD += @OSS_LIBS@
+endif
+if HAVE_SNDIO
+ libsox_la_SOURCES += sndio.c
+ libsox_la_LIBADD += @SNDIO_LIBS@
+ sox_LDADD += @SNDIO_LIBS@
endif
if HAVE_SUN_AUDIO
libsox_la_SOURCES += sunaudio.c