summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-11-12 05:36:09 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-11-12 05:36:09 +0000
commit5ec232f05b971d3eee2d3b49aa690fe5d774f3e7 (patch)
treea2208d563a8a267b74f4db0a430e2a9db2cd9121 /dev-libs/libksba/libksba-1.0.2.ebuild
parentstable for x86 (diff)
downloadgentoo-2-5ec232f05b971d3eee2d3b49aa690fe5d774f3e7.tar.gz
gentoo-2-5ec232f05b971d3eee2d3b49aa690fe5d774f3e7.tar.bz2
gentoo-2-5ec232f05b971d3eee2d3b49aa690fe5d774f3e7.zip
Fixed amd64 optimization issue, bug#198648, thanks to Robert Spillner
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-libs/libksba/libksba-1.0.2.ebuild')
-rw-r--r--dev-libs/libksba/libksba-1.0.2.ebuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-libs/libksba/libksba-1.0.2.ebuild b/dev-libs/libksba/libksba-1.0.2.ebuild
index 7a8a150f3377..aa35daecb33d 100644
--- a/dev-libs/libksba/libksba-1.0.2.ebuild
+++ b/dev-libs/libksba/libksba-1.0.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libksba/libksba-1.0.2.ebuild,v 1.10 2007/10/09 14:57:54 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libksba/libksba-1.0.2.ebuild,v 1.11 2007/11/12 05:36:09 alonbl Exp $
+
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="makes X.509 certificates and CMS easily accessible to applications"
HOMEPAGE="http://www.gnupg.org/(en)/download/index.html#libksba"
@@ -15,6 +17,16 @@ DEPEND=">=dev-libs/libgpg-error-1.2
dev-libs/libgcrypt"
RDEPEND="${DEPEND}"
+src_compile() {
+ # bug#198648
+ if [ $(tc-arch) = "amd64" ]; then
+ replace-flags "-O2" "-O0"
+ replace-flags "-O3" "-O0"
+ fi
+ econf || die
+ emake || die
+}
+
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION