openbsd-ports/net/ices2/patches/patch-src_Makefile_am
jakemsr 35dcb2f709 sndio for ices2
ok mgrimm@ (MAINTAINER)
2010-04-23 05:54:26 +00:00

31 lines
1.3 KiB
Plaintext

$OpenBSD: patch-src_Makefile_am,v 1.1 2010/04/23 05:54:26 jakemsr Exp $
--- src/Makefile.am.orig Mon Jan 18 03:42:30 2010
+++ src/Makefile.am Mon Jan 18 03:47:44 2010
@@ -14,6 +14,10 @@ if HAVE_OSS
oss = im_oss.c
endif
+if HAVE_SNDIO
+sndio = im_sndio.c
+endif
+
if HAVE_SUN_AUDIO
sun = im_sun.c
endif
@@ -24,13 +28,13 @@ endif
dist_noinst_HEADERS = cfgparse.h input.h inputmodule.h im_playlist.h signals.h stream.h reencode.h encode.h playlist_basic.h logging.h im_stdinpcm.h event.h stream_shared.h metadata.h audio.h resample.h im_sun.h im_oss.h im_alsa.h
-ices_SOURCES = input.c cfgparse.c stream.c ices.c signals.c im_playlist.c reencode.c encode.c playlist_basic.c im_stdinpcm.c stream_shared.c metadata.c playlist_script.c audio.c resample.c $(oss) $(sun) $(alsa)
+ices_SOURCES = input.c cfgparse.c stream.c ices.c signals.c im_playlist.c reencode.c encode.c playlist_basic.c im_stdinpcm.c stream_shared.c metadata.c playlist_script.c audio.c resample.c $(oss) $(sndio) $(sun) $(alsa)
ices_LDADD = log/libicelog.la \
timing/libicetiming.la \
thread/libicethread.la \
avl/libiceavl.la \
- @ALSA_LIBS@ @XIPH_LIBS@
+ @ALSA_LIBS@ @SNDIO_LIBS@ @XIPH_LIBS@
debug:
$(MAKE) all CFLAGS="@DEBUG@"