From 0f0f2e7c928c6a22d0e973f38d2bbf826d26f1d5 Mon Sep 17 00:00:00 2001 From: lioux Date: Tue, 28 Jan 2003 16:27:58 +0000 Subject: o Do not select cpu type for the configure script: this disables assembly optimizations for each platform. Figures. o configure script was ignoring our enabling the video capture interface. Hard code this. o Bump PORTREVISION Submitted by: Steve O'Hara-Smith --- multimedia/ffmpeg/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'multimedia/ffmpeg/Makefile') diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 690821db5bd5..5afe286479d2 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -7,6 +7,7 @@ PORTNAME= ffmpeg PORTVERSION= 0.4.6 +PORTREVISION= 1 CATEGORIES= multimedia audio net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ffmpeg @@ -41,8 +42,6 @@ LIB_FILES= libavcodec/libavcodec.a libavformat/libavformat.a ## ## arch detection ## -CONFIGURE_ARGS+= --cpu=${ARCH:L} -# .if ${ARCH} != "i386" WITHOUT_MMX= yes .endif @@ -156,6 +155,11 @@ post-extract: post-patch: @${REINPLACE_CMD} -e "s!/etc/ffserver.conf!${PREFIX}/etc/ffserver.conf!g" \ ${WRKSRC}/ffserver.c +# we support "v4l" per default through Steve O'Hara-Smith's bktr(4) +# patch + @${REINPLACE_CMD} -E -e \ + 's|^(v4l).*$$|\1="yes"|' \ + ${WRKSRC}/configure # malloc.h was deprecated in favor of stdlib.h @${FIND} ${WRKSRC} -type f | \ ${XARGS} -n 10 ${REINPLACE_CMD} -e \ -- cgit