$OpenBSD: patch-codecs_Makefile,v 1.1.1.1 2004/09/26 00:38:24 jolan Exp $ --- codecs/Makefile.orig Mon Jul 19 10:52:57 2004 +++ codecs/Makefile Sat Sep 25 19:20:42 2004 @@ -19,7 +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") +ifneq (${OSARCH},OpenBSD) MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] && echo "codec_speex.so") +endif MODILBC=$(shell [ -f ilbc/iLBC_decode.h ] && echo "codec_ilbc.so") CFLAGS+=-fPIC CFLAGS+=$(shell [ -f /usr/local/include/speex.h ] && echo "-I/usr/local/include")