diff options
Diffstat (limited to 'net/asterisk-bristuff/files/patch-codecs::Makefile')
-rw-r--r-- | net/asterisk-bristuff/files/patch-codecs::Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/net/asterisk-bristuff/files/patch-codecs::Makefile b/net/asterisk-bristuff/files/patch-codecs::Makefile index de9aff4c34fe..353c6dd1e62e 100644 --- a/net/asterisk-bristuff/files/patch-codecs::Makefile +++ b/net/asterisk-bristuff/files/patch-codecs::Makefile @@ -1,15 +1,12 @@ - -$FreeBSD$ - ---- codecs/Makefile.orig Mon Jul 19 18:52:57 2004 -+++ codecs/Makefile Sun Oct 10 15:28:35 2004 -@@ -17,23 +17,23 @@ +--- codecs/Makefile.orig Thu Jan 13 10:22:07 2005 ++++ codecs/Makefile Sun Feb 27 23:53:30 2005 +@@ -17,24 +17,23 @@ # g723.1b) # #MODG723=codec_g723_1.so codec_g723_1b.so -MODG723=$(shell [ -f g723.1/coder.c ] && echo "codec_g723_1.so") -MODG723+=$(shell [ -f g723.1b/coder2.c ] && echo "codec_g723_1b.so") --MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] && echo "codec_speex.so") +-MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] || [ -f /usr/local/include/speex/speex.h ] && echo "codec_speex.so") -MODILBC=$(shell [ -f ilbc/iLBC_decode.h ] && echo "codec_ilbc.so") +MODG723=codec_g723_1_dummy.so +MODG729=codec_g729_dummy.so @@ -17,6 +14,7 @@ $FreeBSD$ +MODILBC=codec_ilbc.so CFLAGS+=-fPIC -CFLAGS+=$(shell [ -f /usr/local/include/speex.h ] && echo "-I/usr/local/include") +-CFLAGS+=$(shell [ -f /usr/local/include/speex/speex.h ] && echo "-I/usr/local/include/speex") +CFLAGS+=-I$(LOCALBASE)/include LIBG723=g723.1/libg723.a @@ -34,7 +32,7 @@ $FreeBSD$ codec_adpcm.so codec_ulaw.so codec_alaw.so codec_a_mu.so \ codec_g726.so -@@ -91,7 +91,7 @@ +@@ -92,7 +91,7 @@ endif install: all |