aboutsummaryrefslogtreecommitdiff
path: root/multimedia/handbrake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/handbrake/Makefile')
-rw-r--r--multimedia/handbrake/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index e8d31604719e..277e451f79b4 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -29,7 +29,8 @@ LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 \
samplerate.1:${PORTSDIR}/audio/libsamplerate \
vorbis.3:${PORTSDIR}/audio/libvorbis \
xvidcore.4:${PORTSDIR}/multimedia/xvid \
- x264.50:${PORTSDIR}/multimedia/x264
+ x264.50:${PORTSDIR}/multimedia/x264 \
+ avcodec.1:${PORTSDIR}/multimedia/ffmpeg
WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION}
HAS_CONFIGURE= yes
@@ -46,12 +47,6 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude beos \
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libavformat.a) && !exists(${LOCALBASE}/libdata/pkgconfig/libavcodec.pc)
-BROKEN= ffmpeg exists, handbrake needs ffmpeg-devel so uninstall ffmpeg if you still want handbrake
-.else
-LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel
-.endif
-
.if ${OSVERSION} < 500000
USE_GETOPT_LONG= yes
MAKE_ENV= EXTRA_LIBS="-lcipher -lgnugetopt"