aboutsummaryrefslogtreecommitdiff
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
parentcba45139b62b3021bb095c08ecd29b8106d8b0d0 (diff)
downloadports-ce9deb3fd4eb5457b149707a6d48722133d560ae.tar.gz
ports-ce9deb3fd4eb5457b149707a6d48722133d560ae.zip
Notes
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 \