summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-04-24 13:08:28 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-04-24 13:08:28 +0000
commit19eb266ffa8fba090523aac5f92fbfc7bc697ade (patch)
treed40a2726b74df57d6e831ada0940a1fca2893401 /dev-libs/crypto++
parentfix wrapper script (diff)
downloadgentoo-2-19eb266ffa8fba090523aac5f92fbfc7bc697ade.tar.gz
gentoo-2-19eb266ffa8fba090523aac5f92fbfc7bc697ade.tar.bz2
gentoo-2-19eb266ffa8fba090523aac5f92fbfc7bc697ade.zip
Add sse2 USE flag, bug#217907
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-libs/crypto++')
-rw-r--r--dev-libs/crypto++/ChangeLog5
-rw-r--r--dev-libs/crypto++/crypto++-5.5.2.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-libs/crypto++/ChangeLog b/dev-libs/crypto++/ChangeLog
index 64bd73b2d034..278ca54d880a 100644
--- a/dev-libs/crypto++/ChangeLog
+++ b/dev-libs/crypto++/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/crypto++
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.44 2008/03/25 21:50:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.45 2008/04/24 13:08:28 alonbl Exp $
+
+ 24 Apr 2008; Alon Bar-Lev <alonbl@gentoo.org> crypto++-5.5.2.ebuild:
+ Add sse2 USE flag, bug#217907
25 Mar 2008; Jeroen Roovers <jer@gentoo.org> crypto++-5.5.2.ebuild:
Stable for HPPA (bug #213487).
diff --git a/dev-libs/crypto++/crypto++-5.5.2.ebuild b/dev-libs/crypto++/crypto++-5.5.2.ebuild
index a187ab34f99f..d56f0b3c853d 100644
--- a/dev-libs/crypto++/crypto++-5.5.2.ebuild
+++ b/dev-libs/crypto++/crypto++-5.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.5.2.ebuild,v 1.10 2008/03/25 21:50:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.5.2.ebuild,v 1.11 2008/04/24 13:08:28 alonbl Exp $
inherit flag-o-matic eutils toolchain-funcs multilib
@@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
DEPEND="app-arch/unzip"
RDEPEND=""
-IUSE=""
+IUSE="sse2"
S="${WORKDIR}"
@@ -21,6 +21,7 @@ src_compile() {
# -O3 causes segfaults
replace-flags -O3 -O2
filter-flags -fomit-frame-pointer
+ use sse2 || append-flags -DCRYPTOPP_DISABLE_SSE2
emake -f GNUmakefile \
CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \
AR="$(tc-getAR)" \