diff options
author | wiz <wiz@pkgsrc.org> | 2006-07-16 22:05:03 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-07-16 22:05:03 +0000 |
commit | 5d95208e511aa25efb3b24c4192d7d80a2cd184a (patch) | |
tree | ad6f6890fea5e716230169f65b044ad361de1e88 /audio/libvisual | |
parent | b13b0ec83bb85964dbb7d76e69622a485fec1f2b (diff) | |
download | pkgsrc-5d95208e511aa25efb3b24c4192d7d80a2cd184a.tar.gz |
Make mmx conditional on i386. Noted by Michael Lorenz.
Diffstat (limited to 'audio/libvisual')
-rw-r--r-- | audio/libvisual/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/libvisual/Makefile b/audio/libvisual/Makefile index 789259e54f3..6964b33d8e5 100644 --- a/audio/libvisual/Makefile +++ b/audio/libvisual/Makefile @@ -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 @@ PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in 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" |