summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-19 19:14:02 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-19 19:14:02 +0000
commit1c42c7916d18ddb2209911892a094b5871d15f12 (patch)
tree1ad4ac1d0a3fea3e208e4247f3caba1791c42738 /sci-libs/lapack-reference
parenteconf needs no die (diff)
downloadgentoo-2-1c42c7916d18ddb2209911892a094b5871d15f12.tar.gz
gentoo-2-1c42c7916d18ddb2209911892a094b5871d15f12.tar.bz2
gentoo-2-1c42c7916d18ddb2209911892a094b5871d15f12.zip
Fix for fortran detection, thanks Arfrever pointing on it
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/lapack-reference')
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild7
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild7
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild7
3 files changed, 9 insertions, 12 deletions
diff --git a/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
index eae497ea62a4..ea3b51e3ff7c 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild,v 1.23 2010/12/17 13:39:18 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild,v 1.24 2010/12/19 19:14:02 jlec Exp $
inherit eutils autotools flag-o-matic multilib toolchain-funcs
@@ -26,7 +26,7 @@ RDEPEND="virtual/blas
S="${WORKDIR}/${MyPN}-lite-${PV}"
pkg_setup() {
- if [[ $(tc-getFC) =~ if.* ]]; then
+ if [[ $(tc-getFC) =~ if ]]; then
ewarn "Using Intel Fortran at your own risk"
export LDFLAGS="$(raw-ldflags)"
export NOOPT_FFLAGS=-O
@@ -54,8 +54,7 @@ src_unpack() {
src_compile() {
econf \
--libdir="/usr/$(get_libdir)/lapack/reference" \
- --with-blas="$(pkg-config --libs blas)" \
- || die "econf failed"
+ --with-blas="$(pkg-config --libs blas)"
emake || die "emake failed"
}
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild
index 5f4e4e40a277..42825c6df56d 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild,v 1.5 2010/12/17 13:39:18 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild,v 1.6 2010/12/19 19:14:02 jlec Exp $
EAPI="3"
@@ -29,7 +29,7 @@ RDEPEND="virtual/blas
S="${WORKDIR}/${MyPN}-${PV}"
pkg_setup() {
- if [[ $(tc-getFC) =~ if.* ]]; then
+ if [[ $(tc-getFC) =~ if ]]; then
ewarn "Using Intel Fortran at your own risk"
export LDFLAGS="$(raw-ldflags)"
export NOOPT_FFLAGS=-O
@@ -62,8 +62,7 @@ src_prepare() {
src_configure() {
econf \
--libdir="${EPREFIX}/usr/$(get_libdir)/lapack/reference" \
- --with-blas="$(pkg-config --libs blas)" \
- || die "econf failed"
+ --with-blas="$(pkg-config --libs blas)"
}
src_install() {
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild
index 0c585c4156c5..d5e4a7658d12 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild,v 1.5 2010/12/17 13:39:18 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild,v 1.6 2010/12/19 19:14:02 jlec Exp $
inherit eutils autotools flag-o-matic multilib toolchain-funcs
@@ -27,7 +27,7 @@ RDEPEND="virtual/blas
S="${WORKDIR}/${MyPN}-${PV}"
pkg_setup() {
- if [[ $(tc-getFC) =~ if.* ]]; then
+ if [[ $(tc-getFC) =~ if ]]; then
ewarn "Using Intel Fortran at your own risk"
export LDFLAGS="$(raw-ldflags)"
export NOOPT_FFLAGS=-O
@@ -55,8 +55,7 @@ src_unpack() {
src_compile() {
econf \
--libdir="/usr/$(get_libdir)/lapack/reference" \
- --with-blas="$(pkg-config --libs blas)" \
- || die "econf failed"
+ --with-blas="$(pkg-config --libs blas)"
emake || die "emake failed"
}