summaryrefslogtreecommitdiff
path: root/audio/lame
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-08-30 16:12:49 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-08-30 16:12:49 +0000
commit7aa32acbe7122c776d57446a768c00fc5fb41775 (patch)
tree7edee3bd3aea7f95696c5c89f2fe710162a5bab6 /audio/lame
parentb43512d6ffe28382c606d327757ef71280d28bd5 (diff)
downloadpkgsrc-7aa32acbe7122c776d57446a768c00fc5fb41775.tar.gz
Enable ASM functions when MACHINE_ARCH = i386 for performance,
closes PR pkg/31101.
Diffstat (limited to 'audio/lame')
-rw-r--r--audio/lame/Makefile9
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"