aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc/Makefile')
-rw-r--r--multimedia/vlc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 3153024302a2..da1fda3af39d 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -68,8 +68,11 @@ BROKEN= Does not compile with perl ${PERL_VERSION}
.if exists(${LOCALBASE}/libdata/pkgconfig/libavcodec.pc) || !exists(${LOCALBASE}/lib/libavformat.a)
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel
+FFMPEG= new
.else
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
+FFMPEG= old
+EXTRA_PATCHES= ${PATCHDIR}/old-ffmpeg-patch
.endif
# compatible knobs.