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
commitf4762e09fc61613297a60c405909c5d4d6e788a6 (patch)
tree1af9dcb53f3487446f1326e9e8253995e05ad606 /media-libs
parentAdded keys file to the ebuild (diff)
downloadhistorical-f4762e09fc61613297a60c405909c5d4d6e788a6.tar.gz
historical-f4762e09fc61613297a60c405909c5d4d6e788a6.tar.bz2
historical-f4762e09fc61613297a60c405909c5d4d6e788a6.zip
fixed mmx compilation issues for non-x86
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdl-gfx/ChangeLog7
-rw-r--r--media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild10
2 files changed, 15 insertions, 2 deletions
diff --git a/media-libs/sdl-gfx/ChangeLog b/media-libs/sdl-gfx/ChangeLog
index 2e4cc8daf43e..16cd46c23c1e 100644
--- a/media-libs/sdl-gfx/ChangeLog
+++ b/media-libs/sdl-gfx/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for media-libs/sdl-gfx
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/ChangeLog,v 1.3 2002/08/06 21:25:55 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/ChangeLog,v 1.4 2002/08/28 05:46:30 seemant Exp $
*sdl-gfx-2.0.3 (5 Jul 2002)
+ 27 Aug 2002; Seemant Kulleen <seemant@gentoo.org> sdl-gfx-2.0.3 :
+
+ Removed mmx stuff if not in USE -- which means compilation on non-x86
+ Many thanks to: justinb@imsa.edu (Justin Blanchard) in bug #6989.
+
06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
Added ppc to keywords
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
}