diff options
author | xtraeme <xtraeme> | 2005-08-30 16:12:49 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2005-08-30 16:12:49 +0000 |
commit | 281232cd16c80e28852999e77fdc50af599f9ce2 (patch) | |
tree | 7edee3bd3aea7f95696c5c89f2fe710162a5bab6 /audio | |
parent | 8e8127156df2abf3acc890ca3b8e89a8a8cf3d11 (diff) | |
download | pkgsrc-281232cd16c80e28852999e77fdc50af599f9ce2.tar.gz |
Enable ASM functions when MACHINE_ARCH = i386 for performance,
closes PR pkg/31101.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/lame/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile index 0393f0992d5..790a3fdcbe4 100644 --- a/audio/lame/Makefile +++ b/audio/lame/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.49 2005/05/31 16:04:28 wiz Exp $ +# $NetBSD: Makefile,v 1.50 2005/08/30 16:12:49 xtraeme Exp $ # DISTNAME= lame-${VERS} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/} \ http://hive.me.gu.edu.au/not_lame/ @@ -40,5 +40,10 @@ CFLAGS+= -O2 -Wall -fomit-frame-pointer -ffast-math -funroll-loops \ -finline-functions -DFLOAT=double -DFLOAT_MAX=DBL_MAX .endif +.if ${MACHINE_ARCH} == "i386" +BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm +CONFIGURE_ARGS+= --enable-nasm +.endif + .include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |