summaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-codecs::Makefile
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-02-28 11:02:29 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-02-28 11:02:29 +0000
commit3609ffcb39aa1fe4f71c8a57b457fee309215128 (patch)
tree63e4a8ac4b45956886c96ce9e106757ca453186a /net/asterisk/files/patch-codecs::Makefile
parent- Update to 1.0.4. (diff)
- Update to 1.0.5.
- Add PATCHFILE by Klaus-Peter Junghanns for quadBRI/octoBRI (HFC-S) support - Enable libpri support in chan_zap module. Sponsored by: LF.net Approved by: MAINTAINER
Notes
Notes: svn path=/head/; revision=130004
Diffstat (limited to 'net/asterisk/files/patch-codecs::Makefile')
-rw-r--r--net/asterisk/files/patch-codecs::Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/asterisk/files/patch-codecs::Makefile b/net/asterisk/files/patch-codecs::Makefile
index de9aff4c34fe..353c6dd1e62e 100644
--- a/net/asterisk/files/patch-codecs::Makefile
+++ b/net/asterisk/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