summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-01-29 17:33:53 +0000
committerMichał Górny <mgorny@gentoo.org>2015-01-29 17:33:53 +0000
commiteb26ccdaa2e20bbb8986d624bd5d14b46bf13ca4 (patch)
treeb8acb624a426f6204ac646bbc2c68402940ed17e /media-libs/imlib2/imlib2-1.4.5-r1.ebuild
parentSwitch to CPU_FLAGS_X86. (diff)
downloadgentoo-2-eb26ccdaa2e20bbb8986d624bd5d14b46bf13ca4.tar.gz
gentoo-2-eb26ccdaa2e20bbb8986d624bd5d14b46bf13ca4.tar.bz2
gentoo-2-eb26ccdaa2e20bbb8986d624bd5d14b46bf13ca4.zip
Convert to CPU_FLAGS_X86.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'media-libs/imlib2/imlib2-1.4.5-r1.ebuild')
-rw-r--r--media-libs/imlib2/imlib2-1.4.5-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/media-libs/imlib2/imlib2-1.4.5-r1.ebuild b/media-libs/imlib2/imlib2-1.4.5-r1.ebuild
index a098a1aa746c..72f47d7f065e 100644
--- a/media-libs/imlib2/imlib2-1.4.5-r1.ebuild
+++ b/media-libs/imlib2/imlib2-1.4.5-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.4.5-r1.ebuild,v 1.2 2014/01/18 20:19:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.4.5-r1.ebuild,v 1.3 2015/01/29 17:33:53 mgorny Exp $
EAPI="4"
@@ -16,7 +16,7 @@ inherit enlightenment toolchain-funcs
DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
HOMEPAGE="http://www.enlightenment.org/"
-IUSE="bzip2 gif jpeg mmx mp3 png static-libs tiff X zlib"
+IUSE="bzip2 gif jpeg cpu_flags_x86_mmx mp3 png static-libs tiff X zlib"
RDEPEND="=media-libs/freetype-2*
bzip2? ( app-arch/bzip2 )
@@ -45,9 +45,9 @@ src_prepare() {
src_configure() {
# imlib2 has diff configure options for x86/amd64 mmx
if [[ $(tc-arch) == amd64 ]]; then
- E_ECONF+=( $(use_enable mmx amd64) --disable-mmx )
+ E_ECONF+=( $(use_enable cpu_flags_x86_mmx amd64) --disable-mmx )
else
- E_ECONF+=( --disable-amd64 $(use_enable mmx) )
+ E_ECONF+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
fi
[[ $(gcc-major-version) -ge 4 ]] && E_ECONF+=( --enable-visibility-hiding )