pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libvisual Make mmx conditional on i386. Noted by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be0a7a6c9860
branches:  trunk
changeset: 516188:be0a7a6c9860
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 16 22:05:03 2006 +0000

description:
Make mmx conditional on i386. Noted by Michael Lorenz.

diffstat:

 audio/libvisual/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 313487d04e65 -r be0a7a6c9860 audio/libvisual/Makefile
--- a/audio/libvisual/Makefile  Sun Jul 16 15:02:43 2006 +0000
+++ b/audio/libvisual/Makefile  Sun Jul 16 22:05:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/07/03 23:33:43 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2006/07/16 22:05:03 wiz Exp $
 #
 
 DISTNAME=              libvisual-0.4.0
@@ -15,11 +15,14 @@
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            pkg-config
 
+.include "../../mk/bsd.prefs.mk"
 .include "../../mk/compiler.mk"
 
+.if ${MACHINE_ARCH} == "i386"
 .if !empty(CC_VERSION:Mgcc*)
 CPPFLAGS+=             -mmmx
 .endif
+.endif
 
 .include "../../mk/x11.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index