summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-16 15:01:18 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-16 15:01:18 +0000
commitf0ad5c01ba1f436ac79fe005fca7f938a204ffb6 (patch)
tree61c67c044e13f32f84679bbdbbe049f4b2b66f9f /dev-libs/blitz/blitz-0.9.ebuild
parentRemoval of fortran.eclass, #348851 (diff)
downloadgentoo-2-f0ad5c01ba1f436ac79fe005fca7f938a204ffb6.tar.gz
gentoo-2-f0ad5c01ba1f436ac79fe005fca7f938a204ffb6.tar.bz2
gentoo-2-f0ad5c01ba1f436ac79fe005fca7f938a204ffb6.zip
Removal of fortran.eclass, #348851
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/blitz/blitz-0.9.ebuild')
-rw-r--r--dev-libs/blitz/blitz-0.9.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/dev-libs/blitz/blitz-0.9.ebuild b/dev-libs/blitz/blitz-0.9.ebuild
index 9b80f1997c73..7748c6519bcb 100644
--- a/dev-libs/blitz/blitz-0.9.ebuild
+++ b/dev-libs/blitz/blitz-0.9.ebuild
@@ -1,22 +1,18 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9.ebuild,v 1.11 2010/06/25 13:21:11 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9.ebuild,v 1.12 2010/12/16 15:01:18 jlec Exp $
-inherit eutils toolchain-funcs fortran
+inherit eutils toolchain-funcs
DESCRIPTION="High-performance C++ numeric library"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.oonumerics.org/blitz"
-DEPEND=""
-RDEPEND=""
-IUSE=""
+IUSE=""
SLOT="0"
KEYWORDS="~amd64 ppc x86"
LICENSE="GPL-2"
-FORTAN="g77"
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -31,12 +27,14 @@ src_compile() {
myconf="${myconf} --enable-maintainer-mode --disable-doxygen --disable-dot"
myconf="${myconf} --enable-shared"
- export CC=$(tc-getCC) CXX=$(tc-getCXX)
- econf ${myconf} || die "econf failed"
+ export CC=$(tc-getCC) CXX=$(tc-getCXX) FC=$(tc-getFC)
+ econf ${myconf}
}
src_test() {
- make check-testsuite || die "selftest failed"
+ # exprctor fails if BZ_DEBUG flag is not set
+ # CXXFLAGS gets overwritten
+ emake AM_CXXFLAGS="-DBZ_DEBUG" check-testsuite || die "selftest failed"
}
src_install () {