pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/lame Enable ASM functions when MACHINE_ARCH = i3...
details: https://anonhg.NetBSD.org/pkgsrc/rev/006aed17633c
branches: trunk
changeset: 498701:006aed17633c
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Aug 30 16:12:49 2005 +0000
description:
Enable ASM functions when MACHINE_ARCH = i386 for performance,
closes PR pkg/31101.
diffstat:
audio/lame/Makefile | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 12af8acc132d -r 006aed17633c audio/lame/Makefile
--- a/audio/lame/Makefile Tue Aug 30 16:12:02 2005 +0000
+++ b/audio/lame/Makefile Tue Aug 30 16:12:49 2005 +0000
@@ -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 @@
-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"
Home |
Main Index |
Thread Index |
Old Index