diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-06-19 23:15:12 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-06-19 23:15:12 +0000 |
commit | 640338466b0a6eaf316bdd24c83f8427699cf805 (patch) | |
tree | 4acf9eb0e0b9a8e3856c9653b0ebccf052c7ce28 /multimedia | |
parent | 829cb41385ebe97c044a8155ad13fcc820c58829 (diff) | |
download | pkgsrc-640338466b0a6eaf316bdd24c83f8427699cf805.tar.gz |
o Disable debug compilation flags.
o Honour USE_MMX.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 7ffd7e47d37..58ea3d2a1c4 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/05/26 11:14:33 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2004/06/19 23:15:12 xtraeme Exp $ DISTNAME= ffmpeg-0.4.8 CATEGORIES= multimedia net @@ -16,8 +16,20 @@ MAKE_ENV+= EXTRA_LIBS="${LIBGETOPT}" \ FFSERVER_CONF=${PKG_SYSCONFDIR}/ffserver.conf \ LOCALBASE="${LOCALBASE}" -CONFIGURE_ARGS= --cc=${CC} --disable-grab --disable-mmx --prefix=${PREFIX} -CONFIGURE_ARGS+= --disable-vhook +CONFIGURE_ARGS= --cc=${CC} --disable-grab --prefix=${PREFIX} +CONFIGURE_ARGS+= --disable-vhook --disable-debug + +BUILD_DEFS+= USE_MMX + +.include "../../mk/compiler.mk" + +.if !empty(MACHINE_ARCH:Mi386) && !empty(USE_MMX:M[Yy][Ee][Ss]) +. if !empty(CC_VERSION:Mgcc*) +CFLAGS+= -fomit-frame-pointer +. endif +.else +CONFIGURE_ARGS+= --disable-mmx +.endif post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffmpeg \ |