Subject: pkg/35369: speex not detected
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dave@turbocat.de>
List: pkgsrc-bugs
Date: 01/07/2007 00:45:00
>Number:         35369
>Category:       pkg
>Synopsis:       speex not detected
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 07 00:45:00 +0000 2007
>Originator:     David Wetzel
>Release:        NetBSD 3.1
>Organization:
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin
  _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 (______)  http://www.turbocat.de/  dave@turbocat.de
>Environment:
	
	
System: NetBSD alice.turbocat.de 3.1 NetBSD 3.1 (ALICENEW) #0: Thu Nov 9 16:06:38 CET 2006 dave@alice.turbocat.de:/usr/src/sys/arch/i386/compile/ALICENEW i386
Architecture: i386
Machine: i386
>Description:
	 Asterisk from pkgsrc does not detect the speex codec if installed from pkgsrc>
>How-To-Repeat:
>Fix:

cd /usr/src/pkgsrc/comms/asterisk/work/asterisk-1.2.14/codecs
alice# diff Makefile.org Makefile
34a35,36
> UPI_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/pkg/include/speex.h)
> 
55a58,63
> ifneq (${UPI_SPEEX},)
>   MODSPEEX=codec_speex.so
>   CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/pkg/include
>   LIBSPEEX=-L$(CROSS_COMPILE_TARGET)/usr/pkg/lib
>   LIBSPEEX+=-lspeex -lm
> endif


>Unformatted: