aboutsummaryrefslogtreecommitdiffstats
path: root/audio/speex/Makefile
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-06-12 01:51:34 +0800
committernaddy <naddy@FreeBSD.org>2003-06-12 01:51:34 +0800
commit8622ca5cf7d92a5d17f717b3540ada5e6d307ea7 (patch)
tree834fdd47a1248450228a241fcb785377a4473be5 /audio/speex/Makefile
parent65e4a443a48fc55ec04bf5c13cacc2130ecc30ef (diff)
downloadfreebsd-ports-gnome-8622ca5cf7d92a5d17f717b3540ada5e6d307ea7.tar.gz
freebsd-ports-gnome-8622ca5cf7d92a5d17f717b3540ada5e6d307ea7.tar.zst
freebsd-ports-gnome-8622ca5cf7d92a5d17f717b3540ada5e6d307ea7.zip
Update to version 1.0.1.
PR: 53098 Submitted by: Ports Fury
Diffstat (limited to 'audio/speex/Makefile')
-rw-r--r--audio/speex/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
index e5c4bfce59ef..9a804b16a551 100644
--- a/audio/speex/Makefile
+++ b/audio/speex/Makefile
@@ -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 @@ COMMENT= An open-source patent-free voice codec
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,11 @@ MAN1= speexdec.1 speexenc.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-.include <bsd.port.pre.mk>
-
-.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
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>