diff options
Diffstat (limited to 'audio/mad123/patches/patch-ac')
-rw-r--r-- | audio/mad123/patches/patch-ac | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/mad123/patches/patch-ac b/audio/mad123/patches/patch-ac new file mode 100644 index 00000000000..296c3a4701d --- /dev/null +++ b/audio/mad123/patches/patch-ac @@ -0,0 +1,40 @@ +$NetBSD: patch-ac,v 1.1 2005/11/11 18:58:18 joerg Exp $ + +--- Makefile.orig 2004-10-21 13:03:25.000000000 +0000 ++++ Makefile +@@ -19,7 +19,6 @@ + + PROG= mad123 + SRCS= mad123.c mp3_stream.c audio_dev.c +-SRCS+= audio_dev_sun.c audio_dev_pcm.c + + BINDIR?=/usr/local/bin + +@@ -29,6 +28,8 @@ USE_CURL?=yes + USE_TAGLIB?=yes + USE_ID3LIB?=no + USE_ARTS?=no ++USE_SUN?=no ++USE_OSS?=no + + .if ${USE_CURL} != "no" + CURLLIB= -lcurl +@@ -50,6 +51,18 @@ CPPFLAGS+= -DNOID3LIB + .endif + .endif # USE_TAGLIB + ++.if ${USE_SUN} != "no" ++SRCS += audio_dev_sun.c ++.else ++CPPFLAGS+= -DNOSUN ++.endif ++ ++.if ${USE_OSS} != "no" ++SRCS+= audio_dev_pcm.c ++.else ++CPPFLAGS+= -DNOOSS ++.endif ++ + .if ${USE_ARTS} != "no" + ARTSLIB= -lartsc + SRCS+= audio_dev_arts.c |