summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-08-28 05:46:30 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-08-28 05:46:30 +0000
commit5205c28ebad65541a4dc81fa7e65a4c4a31b944a (patch)
tree1269542e7dd9e399279bc94661d9d6a3b2117b2f /media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild
parentAdded keys file to the ebuild (diff)
downloadgentoo-2-5205c28ebad65541a4dc81fa7e65a4c4a31b944a.tar.gz
gentoo-2-5205c28ebad65541a4dc81fa7e65a4c4a31b944a.tar.bz2
gentoo-2-5205c28ebad65541a4dc81fa7e65a4c4a31b944a.zip
fixed mmx compilation issues for non-x86
Diffstat (limited to 'media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild')
-rw-r--r--media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild b/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild
index e7a82afef7b1..9b9b47c12a7d 100644
--- a/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild
+++ b/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild,v 1.4 2002/08/14 13:08:10 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild,v 1.5 2002/08/28 05:46:30 seemant Exp $
MY_P="${P/sdl-/SDL_}"
S=${WORKDIR}/${MY_P}
@@ -17,7 +17,15 @@ DEPEND=">=media-libs/libsdl-1.2"
CFLAGS="${CFLAGS} -O2"
src_compile() {
+ local myconf
+ if use ppc || use sparc || use sparc64
+ then
+ myconf="--disable-mmx"
+ else
+ use mmx || myconf="--disable-mmx"
+ fi
+
econf || die
emake || die
}