Subject: pkg/31101: audio/lame does not enable nasm support
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <svs+pr@grep.ru>
List: pkgsrc-bugs
Date: 08/30/2005 16:05:00
>Number:         31101
>Category:       pkg
>Synopsis:       audio/lame does not enable nasm support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 30 16:05:00 +0000 2005
>Originator:     svs+pr@grep.ru
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
	
	
>Description:
LAME includes some efficient assembler routines for i386, but their use
is not enabled in our package, even though configure detects nasm's
presence.
>How-To-Repeat:
	
>Fix:
	
Index: audio/lame/Makefile
===================================================================
RCS file: /vol/2/cvsup/pkgsrc/audio/lame/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- audio/lame/Makefile	31 May 2005 16:04:28 -0000	1.49
+++ audio/lame/Makefile	28 Aug 2005 19:52:01 -0000
@@ -11,6 +11,8 @@
 HOMEPAGE=	http://lame.sourceforge.net/
 COMMENT=	Fast, high quality MP3 encoder
 
+BUILD_DEPENDS+=		nasm>=0.98:../../devel/nasm
+
 VERS=		3.96.1
 
 LICENSE=	lame-license
@@ -22,6 +24,7 @@
 
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--without-vorbis
+CONFIGURE_ARGS+=	--enable-nasm
 
 # Avoid an ICE in gcc2 on sparc64
 CONFIGURE_ENV+=		F77=${FALSE}

>Unformatted: