summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-06 15:11:36 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-06 15:11:36 +0000
commit1fb3459b3dea0c141767b16cb9241d20c0a95e0d (patch)
tree6bdde706d225f6495b367ab75b5bfed439fce8c7 /media-libs/imlib2
parentold (diff)
downloadgentoo-2-1fb3459b3dea0c141767b16cb9241d20c0a95e0d.tar.gz
gentoo-2-1fb3459b3dea0c141767b16cb9241d20c0a95e0d.tar.bz2
gentoo-2-1fb3459b3dea0c141767b16cb9241d20c0a95e0d.zip
touchup mmx handling
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/imlib2-1.2.1.009.ebuild10
-rw-r--r--media-libs/imlib2/imlib2-9999.ebuild13
2 files changed, 12 insertions, 11 deletions
diff --git a/media-libs/imlib2/imlib2-1.2.1.009.ebuild b/media-libs/imlib2/imlib2-1.2.1.009.ebuild
index 5f28e8d5deb7..59085f166baf 100644
--- a/media-libs/imlib2/imlib2-1.2.1.009.ebuild
+++ b/media-libs/imlib2/imlib2-1.2.1.009.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.2.1.009.ebuild,v 1.5 2006/04/14 18:18:02 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.2.1.009.ebuild,v 1.6 2006/11/06 15:11:36 vapier Exp $
EKEY_STATE="release"
inherit enlightenment toolchain-funcs libtool
@@ -25,11 +25,11 @@ KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd"
src_compile() {
local mymmx=""
-# if [[ $(tc-arch) == "amd64" ]] ; then
-# mymmx="--enable-amd64 --disable-mmx"
-# else
+ if [[ $(tc-arch) == "amd64" ]] ; then
+ mymmx="--disable-amd64 --disable-mmx"
+ else
mymmx="--disable-amd64 $(use_enable mmx)"
-# fi
+ fi
elibtoolize
diff --git a/media-libs/imlib2/imlib2-9999.ebuild b/media-libs/imlib2/imlib2-9999.ebuild
index a1ab6bce28d4..b457ef16fb64 100644
--- a/media-libs/imlib2/imlib2-9999.ebuild
+++ b/media-libs/imlib2/imlib2-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-9999.ebuild,v 1.15 2006/02/09 23:45:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-9999.ebuild,v 1.16 2006/11/06 15:11:36 vapier Exp $
inherit enlightenment toolchain-funcs
@@ -17,16 +17,17 @@ DEPEND="=media-libs/freetype-2*
png? ( >=media-libs/libpng-1.2.1 )
jpeg? ( media-libs/jpeg )
tiff? ( >=media-libs/tiff-3.5.5 )
- X? ( || ( ( x11-libs/libXext x11-proto/xextproto ) virtual/x11 ) )
+ X? ( x11-libs/libXext x11-proto/xextproto )
mp3? ( media-libs/libid3tag )"
src_compile() {
+ # imlib2 has diff configure options for x86/amd64 mmx
local mymmx=""
-# if [[ $(tc-arch) == "amd64" ]] ; then
-# mymmx="--enable-amd64 --disable-mmx"
-# else
+ if [[ $(tc-arch) == "amd64" ]] ; then
+ mymmx="$(use_enable mmx amd64) --disable-mmx"
+ else
mymmx="--disable-amd64 $(use_enable mmx)"
-# fi
+ fi
export MY_ECONF="
$(use_with X x) \