diff -urN /usr/ports/audio/speex/Makefile audio/speex/Makefile --- /usr/ports/audio/speex/Makefile Sat Apr 12 22:36:21 2003 +++ audio/speex/Makefile Thu Jun 5 22:09:51 2003 @@ -7,7 +7,7 @@ # PORTNAME= speex -PORTVERSION= 1.0 +PORTVERSION= 1.0.1 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= http://www.speex.org/download/ @@ -18,6 +18,7 @@ LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg +USE_GETOPT_LONG= yes USE_REINPLACE= yes USE_LIBTOOL= yes LIBTOOLFLAGS= --disable-ltlibs --release-ignore @@ -30,16 +31,13 @@ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib -.include - -.if ${OSVERSION} < 500041 -LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -LDFLAGS+= -lgnugetopt -.endif - post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|doc win32|win32|g ; \ s|^mandir =.*$$|mandir = @mandir@|g' + @${REINPLACE_CMD} -e 's| in -lgnugetopt||g ; \ + s|LIBS="-lgnugetopt|LIBS="|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|AFMT_S16_NE|AFMT_S16_LE|g' ${WRKSRC}/src/speexdec.c -.include +.include diff -urN /usr/ports/audio/speex/distinfo audio/speex/distinfo --- /usr/ports/audio/speex/distinfo Sat Apr 12 22:36:21 2003 +++ audio/speex/distinfo Thu Jun 5 22:08:37 2003 @@ -1 +1 @@ -MD5 (speex-1.0.tar.gz) = d4ea30440a57ce5a57e915c46a5b7163 +MD5 (speex-1.0.1.tar.gz) = 20515626d2c755ca9216701b60c97120 diff -urN /usr/ports/audio/speex/pkg-plist audio/speex/pkg-plist --- /usr/ports/audio/speex/pkg-plist Sat Apr 12 22:36:21 2003 +++ audio/speex/pkg-plist Thu Jun 5 21:00:56 2003 @@ -8,4 +8,4 @@ include/speex_stereo.h lib/libspeex.a lib/libspeex.so -lib/libspeex.so.1 +lib/libspeex.so.2