aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-11-17 09:05:23 +0800
committerahze <ahze@FreeBSD.org>2004-11-17 09:05:23 +0800
commit2f08b9986396cb828c3ef811b73cf8ff90cb200d (patch)
tree91b64164128fc2e71d8aa3d3952326bd172b0c32 /multimedia/vlc
parent20214b239428d96bccd8aaae0f9bac1ffee40c7a (diff)
downloadfreebsd-ports-graphics-2f08b9986396cb828c3ef811b73cf8ff90cb200d.tar.gz
freebsd-ports-graphics-2f08b9986396cb828c3ef811b73cf8ff90cb200d.tar.zst
freebsd-ports-graphics-2f08b9986396cb828c3ef811b73cf8ff90cb200d.zip
Fix problem with a52 audio by statically linking
Bump PORTREVISION Approved by: adamw (implicit)
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 3225826230b..d2dbc7c3968 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -166,6 +166,7 @@
PORTNAME= vlc
PORTVERSION= 0.8.1
+PORTREVISION= 1
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \
http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/contrib/:ffmpeg \
@@ -476,7 +477,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libmatroska.a:${PORTSDIR}/multimedia/libmatrosk
.if !defined(WITHOUT_LIBA52)
LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
CONFIGURE_ARGS+=--enable-a52 \
- --with-a52=${LOCALBASE}
+ --with-a52-tree=${LOCALBASE}
.else
CONFIGURE_ARGS+=--diable-a52
.endif
@@ -639,6 +640,10 @@ post-patch:
s|$$(libdir)/mozilla/components|${FAKEDIR}/mozilla|' \
${WRKSRC}/mozilla/Makefile.in
.endif
+# a52
+ @${REINPLACE_CMD} -e 's|include/a52.h|include/a52dec/a52.h|' \
+ ${WRKSRC}/modules/audio_filter/converter/a52tofloat32.c \
+ ${WRKSRC}/configure
# skins2 interface
@${REINPLACE_CMD} -e 's|lrint|rint|' \
${WRKSRC}/modules/gui/skins2/controls/ctrl_list.cpp