summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/xapian/xapian-1.2.17.ebuild')
-rw-r--r--dev-libs/xapian/xapian-1.2.17.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-libs/xapian/xapian-1.2.17.ebuild b/dev-libs/xapian/xapian-1.2.17.ebuild
index 3fb8f9d648b1..3df4225ab8fc 100644
--- a/dev-libs/xapian/xapian-1.2.17.ebuild
+++ b/dev-libs/xapian/xapian-1.2.17.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/dev-libs/xapian/xapian-1.2.17.ebuild,v 1.8 2014/08/19 07:44:12 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-1.2.17.ebuild,v 1.9 2015/01/28 19:43:27 mgorny Exp $
EAPI="5"
@@ -13,7 +13,7 @@ SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86"
-IUSE="doc static-libs -sse +sse2 +brass +chert +inmemory"
+IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +brass +chert +inmemory"
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}"
@@ -24,11 +24,11 @@ src_configure() {
local myconf=""
ewarn
- if use sse2; then
+ if use cpu_flags_x86_sse2; then
ewarn "Using sse2"
myconf="${myconf} --enable-sse=sse2"
else
- if use sse; then
+ if use cpu_flags_x86_sse; then
ewarn "Using sse"
myconf="${myconf} --enable-sse=sse"
else