pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/lame Disable MMX when using Sun Studio.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b11ce2080f2
branches:  trunk
changeset: 553685:8b11ce2080f2
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jan 27 22:03:12 2009 +0000

description:
Disable MMX when using Sun Studio.

diffstat:

 audio/lame/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b6980502d738 -r 8b11ce2080f2 audio/lame/Makefile
--- a/audio/lame/Makefile       Tue Jan 27 21:55:04 2009 +0000
+++ b/audio/lame/Makefile       Tue Jan 27 22:03:12 2009 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index