aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-10-10 03:38:24 +0800
committerahze <ahze@FreeBSD.org>2007-10-10 03:38:24 +0800
commit61fb7f0042905b858e1feed60e0052a82c7053e2 (patch)
treee5b902e6a11fee565999d06dc6570c4c744ed9c4 /multimedia/ffmpeg
parent26935e20d0a05a21fe37997ccd557f513196964f (diff)
downloadfreebsd-ports-gnome-61fb7f0042905b858e1feed60e0052a82c7053e2.tar.gz
freebsd-ports-gnome-61fb7f0042905b858e1feed60e0052a82c7053e2.tar.zst
freebsd-ports-gnome-61fb7f0042905b858e1feed60e0052a82c7053e2.zip
pass CONFIGURE_ARGS if WITHOUT_X264 is defined
Requested by: mezz
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r--multimedia/ffmpeg/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 00a9ebdeeb32..313b850d4dd2 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -160,10 +160,12 @@ CONFIGURE_ARGS+= --enable-libvorbis
FFMPEG_CFLAGS+= -I${LOCALBASE}/include/vorbis
.endif
# x264
-.ifndef(WITHOUT_X264) || exists(${LOCALBASE}/lib/libx264.so)
+.ifndef(WITHOUT_X264)
LIB_DEPENDS+= x264.50:${PORTSDIR}/multimedia/x264
CONFIGURE_ARGS+= --enable-libx264
+.else
+CONFIGURE_ARGS+= --disable-libx264
.endif
## builtin vector, requires mmx
.if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR)