1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-01-28 16:27:58 +00:00
parent cba45139b6
commit ce9deb3fd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74146
2 changed files with 12 additions and 4 deletions

View File

@ -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 \

View File

@ -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 \