This is an update to sox-14.3.2 that includes functionality of the new audio/opencore-amr port, which is *not* included yet; this can only be commited after opencore-amr is commited.
(This diff is to make sure that existing ports do not create hidden dependencies on AMR in their binaries. More ports need to be checked for this.) Tested on amd64 and i386. Comments? Jan Index: Makefile =================================================================== RCS file: /cvs/ports/audio/sox/Makefile,v retrieving revision 1.49 diff -u -p -r1.49 Makefile --- Makefile 15 Jun 2011 08:29:34 -0000 1.49 +++ Makefile 3 Jul 2011 07:48:01 -0000 @@ -4,6 +4,7 @@ COMMENT= Sound eXchange, the Swiss Army DISTNAME= sox-14.3.2 SHARED_LIBS += sox 2.0 # .1.0 +REVISION= 0 CATEGORIES= audio HOMEPAGE= http://sox.sourceforge.net/ @@ -18,8 +19,10 @@ PERMIT_DISTFILES_FTP= Yes MODULES= converters/libiconv WANTLIB += c m ogg sndio z -WANTLIB += vorbis vorbisenc vorbisfile FLAC magic -WANTLIB += mad id3tag mp3lame wavpack png gsm +WANTLIB += vorbis vorbisenc vorbisfile FLAC +WANTLIB += opencore-amrnb opencore-amrwb +WANTLIB += mad id3tag mp3lame wavpack +WANTLIB += magic png gsm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} @@ -31,6 +34,7 @@ LIB_DEPENDS= audio/libvorbis \ audio/libid3tag \ audio/lame \ audio/wavpack \ + audio/opencore-amr \ graphics/png \ audio/gsm @@ -58,8 +62,8 @@ CONFIGURE_ARGS+=--without-sndfile \ --with-mad \ --with-id3tag \ --with-lame \ - --without-amrwb \ - --without-amrnb \ + --with-amrnb \ + --with-amrwb \ --with-wavpack \ --with-png \ --without-ladspa