summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild')
-rw-r--r--sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild b/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild
index b8365ba28c9f..03fa903c8580 100644
--- a/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild
+++ b/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild,v 1.6 2007/12/12 19:03:58 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild,v 1.7 2007/12/20 11:13:12 markusle Exp $
inherit eutils toolchain-funcs fortran multilib
@@ -63,6 +63,11 @@ src_unpack() {
epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch
epatch "${FILESDIR}"/${MY_PN}-${PATCH_V}-decl-fix.patch
+ # fix for pentium M
+ sed -e "s|iret = IntPM;|iret = IntPM; break;|g" \
+ -i CONFIG/src/backend/archinfo_x86.c \
+ || die "failed to fix pentium M arch detection"
+
BLD_DIR="${S}"/gentoo-build
mkdir "${BLD_DIR}" || die "failed to generate build directory"
cd "${BLD_DIR}"