summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-04-03 07:05:23 +0000
committerjmc <jmc@pkgsrc.org>2002-04-03 07:05:23 +0000
commit06ecbe953c27c27f4c8ceaf1ad6edb7607d764f0 (patch)
treedb323701d35a1d4d9565187a5b06ec34c168dc66
parent835c7ac5864db0424aa0c0762a6b4702fcb7b69f (diff)
downloadpkgsrc-06ecbe953c27c27f4c8ceaf1ad6edb7607d764f0.tar.gz
Unless on x86 pass --disable-mmx to configure so inline x86 assembly isn't used
-rw-r--r--devel/SDL_gfx/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/SDL_gfx/Makefile b/devel/SDL_gfx/Makefile
index 07f04a868fa..9318b7d34e7 100644
--- a/devel/SDL_gfx/Makefile
+++ b/devel/SDL_gfx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/03/24 20:14:36 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2002/04/03 07:05:23 jmc Exp $
#
DISTNAME= SDL_gfx-2.0.3
@@ -15,6 +15,10 @@ USE_GMAKE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+.if (${MACHINE_ARCH} != "i386")
+CONFIGURE_ARGS+= --disable-mmx
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/SDL_gfx/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/SDL_gfx/Screenshots