From 768b53ae23d4daa1f139d5350144330a6598a274 Mon Sep 17 00:00:00 2001 From: mezz Date: Sat, 2 Jun 2007 03:48:14 +0000 Subject: Enable bktr by default with WITHOUT_BKTR to disable it. PR: ports/113077 Submitted by: HASHI Hiroaki --- multimedia/ffmpeg/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'multimedia') 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 -- cgit