aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-29 00:27:58 +0800
committerlioux <lioux@FreeBSD.org>2003-01-29 00:27:58 +0800
commit0f0f2e7c928c6a22d0e973f38d2bbf826d26f1d5 (patch)
tree6faf86cc929fb0aa568ec2e7cb515e12b75f4fd0 /multimedia/ffmpeg
parent5661f08630714e44033451a5198ea1dc5b93cbbf (diff)
downloadfreebsd-ports-gnome-0f0f2e7c928c6a22d0e973f38d2bbf826d26f1d5.tar.gz
freebsd-ports-gnome-0f0f2e7c928c6a22d0e973f38d2bbf826d26f1d5.tar.zst
freebsd-ports-gnome-0f0f2e7c928c6a22d0e973f38d2bbf826d26f1d5.zip
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 <steve@sohara.org>
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r--multimedia/ffmpeg/Makefile8
1 files changed, 6 insertions, 2 deletions
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 \