summaryrefslogtreecommitdiff
path: root/audio/lame
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2009-01-27 22:03:12 +0000
committersketch <sketch@pkgsrc.org>2009-01-27 22:03:12 +0000
commite267bba7a006617d79398e8faf1fd1f036cb49da (patch)
tree281a0a7a472cd7956de49d5021f92be938787c0f /audio/lame
parent51fbf525a691083ff241a61ba4f4a8df3f0cf7a3 (diff)
downloadpkgsrc-e267bba7a006617d79398e8faf1fd1f036cb49da.tar.gz
Disable MMX when using Sun Studio.
Diffstat (limited to 'audio/lame')
-rw-r--r--audio/lame/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile
index 95c6db63f4d..8612387b04a 100644
--- a/audio/lame/Makefile
+++ b/audio/lame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2008/10/09 14:45:32 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2009/01/27 22:03:12 sketch Exp $
#
DISTNAME= lame-398-2
@@ -40,5 +40,9 @@ BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
CONFIGURE_ARGS+= --enable-nasm
.endif
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CONFIGURE_ENV+= ac_cv_header_xmmintrin_h=no
+.endif
+
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"