aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg0
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-04-17 02:40:49 +0000
committerSteve Wills <swills@FreeBSD.org>2014-04-17 02:40:49 +0000
commit633c01d1062b6a07aeed5f4341d1d610abd8269b (patch)
tree7810c5d77db300391546f5f7f359d8ec4401eeac /multimedia/ffmpeg0
parentc939334480c555b6a27c11335134562bd57e6e05 (diff)
downloadports-633c01d1062b6a07aeed5f4341d1d610abd8269b.tar.gz
ports-633c01d1062b6a07aeed5f4341d1d610abd8269b.zip
Notes
Diffstat (limited to 'multimedia/ffmpeg0')
-rw-r--r--multimedia/ffmpeg0/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/ffmpeg0/Makefile b/multimedia/ffmpeg0/Makefile
index e4884cc6634d..01e710e017b0 100644
--- a/multimedia/ffmpeg0/Makefile
+++ b/multimedia/ffmpeg0/Makefile
@@ -25,8 +25,7 @@ PORTSCOUT= limit:^0\.7.*
HAS_CONFIGURE= yes
CONFIGURE_LOG= config.err
-USES= gmake perl5 pkgconfig
-USE_BZIP2= yes
+USES= gmake perl5 pkgconfig tar:bzip2
WANT_SDL= yes
USE_LDCONFIG= ${PREFIX}/lib/ffmpeg${FFMPEG_SUFFIX}
USE_PERL5= build
@@ -417,7 +416,7 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL5}|g' \
${WRKSRC}/doc/texi2pod.pl
-.if ${PORT_OPTIONS:MDSL}
+.if ${PORT_OPTIONS:MSDL}
@${REINPLACE_CMD} -E \
-e 's|sdl-config|${SDL_CONFIG}|g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@@ -464,5 +463,10 @@ post-install:
@${REINPLACE_CMD} \
-e 's|libavformat|libavformat0|' \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavdevice0.pc
+ @${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavcodec0.pc.bak \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libpostproc0.pc.bak \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libswscale0.pc.bak \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavformat0.pc.bak \
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libavdevice0.pc.bak
.include <bsd.port.post.mk>