summaryrefslogtreecommitdiff
path: root/audio/libvisual
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-07-16 22:05:03 +0000
committerwiz <wiz@pkgsrc.org>2006-07-16 22:05:03 +0000
commit5d95208e511aa25efb3b24c4192d7d80a2cd184a (patch)
treead6f6890fea5e716230169f65b044ad361de1e88 /audio/libvisual
parentb13b0ec83bb85964dbb7d76e69622a485fec1f2b (diff)
downloadpkgsrc-5d95208e511aa25efb3b24c4192d7d80a2cd184a.tar.gz
Make mmx conditional on i386. Noted by Michael Lorenz.
Diffstat (limited to 'audio/libvisual')
-rw-r--r--audio/libvisual/Makefile5
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"