aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc-devel
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-01-14 03:24:19 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-01-14 03:24:19 +0000
commit6219e6ea33ed5041381f20421084efe5fb71d21d (patch)
treedf4f224b9ce3a48c2a9887ac34a2a5c6444fc6bb /multimedia/vlc-devel
parentd0b304ace051ab51eb8c38097606fc5271a21107 (diff)
downloadports-6219e6ea33ed5041381f20421084efe5fb71d21d.tar.gz
ports-6219e6ea33ed5041381f20421084efe5fb71d21d.zip
Notes
Diffstat (limited to 'multimedia/vlc-devel')
-rw-r--r--multimedia/vlc-devel/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile
index 6905b94e2a5a..6f03fdbf8962 100644
--- a/multimedia/vlc-devel/Makefile
+++ b/multimedia/vlc-devel/Makefile
@@ -244,7 +244,6 @@ MAINTAINER= ahze@FreeBSD.org
COMMENT= Multimedia streaming server and player for various audio/video formats
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/bitstream-vera/Vera.ttf:${PORTSDIR}/x11-fonts/bitstream-vera
-LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
CONFLICTS= vlc-[0-9]*
@@ -298,6 +297,12 @@ CPPFLAGS+= -I${X11BASE}/include/wx-2.6/
BROKEN= "Does not compile with perl ${PERL_VERSION}"
.endif
+.if exists(${LOCALBASE}/lib/libavutil-CVS.so) || !exists(${LOCALBASE}/lib/libavformat.a)
+LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel
+.else
+LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
+.endif
+
# compatible knobs.
.if defined(WITH_DEBUG)
DEBUG= yes