aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-06-02 11:48:14 +0800
committermezz <mezz@FreeBSD.org>2007-06-02 11:48:14 +0800
commit768b53ae23d4daa1f139d5350144330a6598a274 (patch)
treef057fef3ddf97a0e66c2bc5a5b5fa96892976466 /multimedia
parentc6563b31e3035c9bc51424572d714452c626e254 (diff)
downloadfreebsd-ports-gnome-768b53ae23d4daa1f139d5350144330a6598a274.tar.gz
freebsd-ports-gnome-768b53ae23d4daa1f139d5350144330a6598a274.tar.zst
freebsd-ports-gnome-768b53ae23d4daa1f139d5350144330a6598a274.zip
Enable bktr by default with WITHOUT_BKTR to disable it.
PR: ports/113077 Submitted by: HASHI Hiroaki <hashiz@tomba.meridiani.jp>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index ca2a97b66a67..21d6da04b13c 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 2007-04-29
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
@@ -28,7 +28,6 @@ CONFIGURE_ARGS= --cc="${CC}" --prefix="${PREFIX}" \
--extra-cflags="-fPIC -DPIC ${CFLAGS} -I${LOCALBASE}/include" \
--extra-ldflags="-L${LOCALBASE}/lib" \
--extra-libs="${PTHREAD_LIBS}" \
- --disable-bktr \
--enable-gpl \
--enable-pthreads \
--enable-swscaler
@@ -185,6 +184,11 @@ LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
CONFIGURE_ARGS+= --enable-xvid
.endif
+## bktr
+.ifdef(WITHOUT_BKTR)
+CONFIGURE_ARGS+= --disable-bktr
+.endif
+
pre-everything::
.ifndef(WITHOUT_A52)
@${ECHO_MSG} 'You can disable liba52 support by defining WITHOUT_LIBA52'
@@ -235,6 +239,10 @@ pre-everything::
@${ECHO_MSG} 'Define WITH_XVID to enable XVID codec'
@${ECHO_MSG}
.endif
+.ifndef(WITHOUT_BKTR)
+ @${ECHO_MSG} 'Define WITHOUT_BKTR to disable bktr video grab'
+ @${ECHO_MSG}
+.endif
post-patch:
# Faad compat