summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-28 16:27:58 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-28 16:27:58 +0000
commitce9deb3fd4eb5457b149707a6d48722133d560ae (patch)
tree47e5b682603ec2076e218d76ae85e4c22fc4052e /multimedia
parentUpdate to 2.991. (diff)
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>
Notes
Notes: svn path=/head/; revision=74146
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile8
-rw-r--r--multimedia/ffmpeg/Makefile8
2 files changed, 12 insertions, 4 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 690821db5bd5..5afe286479d2 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/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 \
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 \