summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-08-28 09:51:15 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-08-28 09:51:15 +0000
commit5d166f3300adefd581ef504ba4e4f69171938413 (patch)
treedf059055280e7b160ebd6101d9a27688b2cfffdd /sci-libs
parentAdd fix to compile on alpha, alpha stable wrt #200336 (diff)
downloadhistorical-5d166f3300adefd581ef504ba4e4f69171938413.tar.gz
historical-5d166f3300adefd581ef504ba4e4f69171938413.tar.bz2
historical-5d166f3300adefd581ef504ba4e4f69171938413.zip
Add fix to compile on alpha, alpha stable wrt #200337
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/lapack-atlas/ChangeLog6
-rw-r--r--sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild7
-rw-r--r--sci-libs/lapack-atlas/lapack-atlas-3.9.3.ebuild5
3 files changed, 14 insertions, 4 deletions
diff --git a/sci-libs/lapack-atlas/ChangeLog b/sci-libs/lapack-atlas/ChangeLog
index a16e958daa31..5735da7022ce 100644
--- a/sci-libs/lapack-atlas/ChangeLog
+++ b/sci-libs/lapack-atlas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/lapack-atlas
# Copyright 2004-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.70 2008/08/16 10:52:39 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.71 2008/08/28 09:51:15 armin76 Exp $
+
+ 28 Aug 2008; Raúl Porcel <armin76@gentoo.org> lapack-atlas-3.8.0.ebuild,
+ lapack-atlas-3.9.3.ebuild:
+ Add fix to compile on alpha, alpha stable wrt #200337
*lapack-atlas-3.9.3 (15 Aug 2008)
diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild
index 7c2b8129c5d9..854da005deb6 100644
--- a/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild
+++ b/sci-libs/lapack-atlas/lapack-atlas-3.8.0.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/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild,v 1.13 2008/04/23 08:37:49 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.8.0.ebuild,v 1.14 2008/08/28 09:51:15 armin76 Exp $
inherit eutils flag-o-matic toolchain-funcs fortran autotools versionator
@@ -20,7 +20,7 @@ SRC_URI="${SRC_URI1} ${SRC_URI2}
SLOT="0"
IUSE="doc"
-KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
CDEPEND="virtual/blas
virtual/cblas
@@ -67,6 +67,9 @@ src_unpack() {
archselect="-b 32"
fi
+ # Remove -m64 on alpha, since the compiler doesn't support it
+ use alpha && sed -i -e 's/-m64//g' "${S}"/CONFIG/src/probe_comp.c
+
../configure \
--cc="$(tc-getCC)" \
--cflags="${CFLAGS}" \
diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.9.3.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.9.3.ebuild
index 8ec993448d9f..f64304a22584 100644
--- a/sci-libs/lapack-atlas/lapack-atlas-3.9.3.ebuild
+++ b/sci-libs/lapack-atlas/lapack-atlas-3.9.3.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/sci-libs/lapack-atlas/lapack-atlas-3.9.3.ebuild,v 1.1 2008/08/16 10:52:39 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.9.3.ebuild,v 1.2 2008/08/28 09:51:15 armin76 Exp $
inherit eutils flag-o-matic toolchain-funcs fortran autotools versionator
@@ -68,6 +68,9 @@ src_unpack() {
archselect="-b 32"
fi
+ # Remove -m64 on alpha, since the compiler doesn't support it
+ use alpha && sed -i -e 's/-m64//g' "${S}"/CONFIG/src/probe_comp.c
+
# unfortunately, atlas-3.9.0 chokes when passed
# x86_64-pc-linux-gnu-gcc and friends instead of
# plain gcc. Hence, we'll have to workaround this