diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-10-19 03:11:30 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-10-19 03:11:30 +0800 |
commit | 5091f47ce22d6617163233f5b54af48416c2cf21 (patch) | |
tree | 3228ede4471642719b8ca382e9885845083a727a /net/asterisk14/files | |
parent | 795fb952860a19ecc9a1b36993e7ebbab8fe65a5 (diff) | |
download | freebsd-ports-gnome-5091f47ce22d6617163233f5b54af48416c2cf21.tar.gz freebsd-ports-gnome-5091f47ce22d6617163233f5b54af48416c2cf21.tar.zst freebsd-ports-gnome-5091f47ce22d6617163233f5b54af48416c2cf21.zip |
Fix if audio/speex is installed (actually make speex a required dependency).
Reported by: Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
Diffstat (limited to 'net/asterisk14/files')
-rw-r--r-- | net/asterisk14/files/patch-codecs::Makefile | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/net/asterisk14/files/patch-codecs::Makefile b/net/asterisk14/files/patch-codecs::Makefile index 1b2df457265c..5275ffaab105 100644 --- a/net/asterisk14/files/patch-codecs::Makefile +++ b/net/asterisk14/files/patch-codecs::Makefile @@ -1,8 +1,29 @@ $FreeBSD$ ---- codecs/Makefile 2003/10/17 09:41:04 1.1 -+++ codecs/Makefile 2003/10/17 09:41:19 +--- codecs/Makefile.orig Tue May 6 03:00:20 2003 ++++ codecs/Makefile Sat Oct 18 11:49:23 2003 +@@ -19,9 +19,9 @@ + #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=codec_speex.so + MODILBC=$(shell [ -f ilbc/iLBC_decode.h ] && echo "codec_ilbc.so") +-CFLAGS+=-fPIC ++CFLAGS+=-fPIC -I$(LOCALBASE)/include + + LIBG723=g723.1/libg723.a + LIBG723B=g723.1b/libg723b.a +@@ -30,7 +30,7 @@ + LIBGSMT=$(shell if uname -m | grep -q 86; then echo gsm/lib/libgsm.a; fi) + LIBMP3=mp3/libmp3.a + LIBLPC10=lpc10/liblpc10.a +-LIBSPEEX=-lspeex -lm ++LIBSPEEX=-L$(LOCALBASE)/lib -lspeex -lm + LIBILBC=ilbc/libilbc.a + + CODECS+=$(MODG723) $(MODSPEEX) $(MODILBC) codec_gsm.so codec_mp3_d.so codec_lpc10.so \ @@ -95,7 +95,7 @@ include .depend |