summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Bonazzola <sanchan@gentoo.org>2006-12-20 20:20:53 +0000
committerSandro Bonazzola <sanchan@gentoo.org>2006-12-20 20:20:53 +0000
commit772580f2edab41e97260d60d5569af88992a05fe (patch)
tree73fc04ac43519392bae7710bb0c669710a0a9c3b /dev-libs/beecrypt
parentfixxor some digests (diff)
downloadgentoo-2-772580f2edab41e97260d60d5569af88992a05fe.tar.gz
gentoo-2-772580f2edab41e97260d60d5569af88992a05fe.tar.bz2
gentoo-2-772580f2edab41e97260d60d5569af88992a05fe.zip
Fix incorrect behaviour with CHOST="i686-..." and CFLAGS="-march=athlon64 ...", bug #158109. Thanks to Robert Golding <robert.golding@gmail.com> for reporting.
(Portage version: 2.1.2_rc3-r6)
Diffstat (limited to 'dev-libs/beecrypt')
-rw-r--r--dev-libs/beecrypt/ChangeLog8
-rw-r--r--dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild4
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-libs/beecrypt/ChangeLog b/dev-libs/beecrypt/ChangeLog
index 198351c0fb9f..9c4a6bf83552 100644
--- a/dev-libs/beecrypt/ChangeLog
+++ b/dev-libs/beecrypt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/beecrypt
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.44 2006/12/16 12:59:16 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.45 2006/12/20 20:20:53 sanchan Exp $
+
+ 20 Dec 2006; Sandro Bonazzola <sanchan@gentoo.org>
+ beecrypt-4.1.2-r1.ebuild:
+ Fix incorrect behaviour with CHOST="i686-..." and CFLAGS="-march=athlon64
+ ...", bug #158109. Thanks to Robert Golding <robert.golding@gmail.com> for
+ reporting.
16 Dec 2006; nixnut <nixnut@gentoo.org> beecrypt-4.1.2-r1.ebuild:
Stable on ppc wrt bug 157858
diff --git a/dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild b/dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild
index 904bf8774568..4ca2cf4b8e3a 100644
--- a/dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild
+++ b/dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild,v 1.11 2006/12/16 12:59:16 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild,v 1.12 2006/12/20 20:20:53 sanchan Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -51,7 +51,7 @@ src_unpack() {
src_compile() {
local myarch=$(get-flag march)
[[ -z ${myarch} ]] && myarch=${CHOST%%-*}
-
+ [[ ${myarch} == "athlon64" ]] && [[ ${CHOST%%-*} != "x86_64" ]] && myarch=${CHOST%%-*}
econf \
$(use_enable threads) \
$(use_with !nocxx cplusplus) \