summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/xapian/xapian-1.3.1-r1.ebuild')
-rw-r--r--dev-libs/xapian/xapian-1.3.1-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-libs/xapian/xapian-1.3.1-r1.ebuild b/dev-libs/xapian/xapian-1.3.1-r1.ebuild
index 390fd9e8d9b1..de8e981702b8 100644
--- a/dev-libs/xapian/xapian-1.3.1-r1.ebuild
+++ b/dev-libs/xapian/xapian-1.3.1-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/dev-libs/xapian/xapian-1.3.1-r1.ebuild,v 1.2 2014/12/26 10:18:21 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-1.3.1-r1.ebuild,v 1.3 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.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~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