diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-06 15:11:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-06 15:11:36 +0000 |
commit | dcb9013305b836a1484ffe044eb3393e57fcfa78 (patch) | |
tree | c4aa890e8f2f1545fb645b752e6b439f8d1a3918 | |
parent | old (diff) | |
download | historical-dcb9013305b836a1484ffe044eb3393e57fcfa78.tar.gz historical-dcb9013305b836a1484ffe044eb3393e57fcfa78.tar.bz2 historical-dcb9013305b836a1484ffe044eb3393e57fcfa78.zip |
touchup mmx handling
-rw-r--r-- | media-libs/imlib2/imlib2-1.2.1.009.ebuild | 10 | ||||
-rw-r--r-- | media-libs/imlib2/imlib2-9999.ebuild | 13 |
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) \ |