summaryrefslogtreecommitdiff
path: root/audio/mpg123/patches
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-03-17 04:49:48 +0000
committerdanw <danw@pkgsrc.org>2004-03-17 04:49:48 +0000
commit9412c681e608006e436563783c2f33182a88d54f (patch)
tree5171d1c0566ab4b401615f5a1fc74111dfa6f190 /audio/mpg123/patches
parent05ed3a91ab2dc199974e5ff92ce4d6bd25412b0b (diff)
downloadpkgsrc-9412c681e608006e436563783c2f33182a88d54f.tar.gz
add a darwin-esd target
Diffstat (limited to 'audio/mpg123/patches')
-rw-r--r--audio/mpg123/patches/patch-aa19
1 files changed, 18 insertions, 1 deletions
diff --git a/audio/mpg123/patches/patch-aa b/audio/mpg123/patches/patch-aa
index 86990e51dec..4216a0db762 100644
--- a/audio/mpg123/patches/patch-aa
+++ b/audio/mpg123/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.23 2002/11/28 12:24:07 markd Exp $
+$NetBSD: patch-aa,v 1.24 2004/03/17 04:49:48 danw Exp $
--- Makefile.orig Mon Nov 25 22:42:10 2002
+++ Makefile
@@ -226,3 +226,20 @@ $NetBSD: patch-aa,v 1.23 2002/11/28 12:24:07 markd Exp $
mpg123-make
bsdos:
+@@ -554,6 +737,16 @@
+ generic:
+ $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_dummy.o' \
+ CFLAGS='$(CFLAGS) -O -DGENERIC -DNOXFERMEM' \
++ mpg123-make
++
++darwin-esd:
++ $(MAKE) CC=cc LDFLAGS= \
++ AUDIO_LIB="`esd-config --libs`" \
++ OBJECTS='decode.o dct64.o audio_esd.o term.o' \
++ CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O3 -fomit-frame-pointer \
++ -funroll-all-loops -ffast-math -DREAD_MMAP \
++ -DREAL_IS_FLOAT -DUSE_MMAP -DTERM_CONTROL \
++ `esd-config --cflags`' \
+ mpg123-make
+
+ ###########################################################################