summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-02 10:42:41 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-02 10:42:41 +0000
commitb97dfcc29b361f3980f4fd9785b750a137905a0e (patch)
tree59184460b0bca04e81eb764c4ab038d311730aff /sci-libs
parentAdd missing ghostscript dependency, bug 241012 (diff)
downloadgentoo-2-b97dfcc29b361f3980f4fd9785b750a137905a0e.tar.gz
gentoo-2-b97dfcc29b361f3980f4fd9785b750a137905a0e.tar.bz2
gentoo-2-b97dfcc29b361f3980f4fd9785b750a137905a0e.zip
Make it gold ready, #369755
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/taucs/ChangeLog7
-rw-r--r--sci-libs/taucs/taucs-2.2.ebuild9
2 files changed, 11 insertions, 5 deletions
diff --git a/sci-libs/taucs/ChangeLog b/sci-libs/taucs/ChangeLog
index 9c144ae2fd1d..d3e50f0b5353 100644
--- a/sci-libs/taucs/ChangeLog
+++ b/sci-libs/taucs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/taucs
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/ChangeLog,v 1.2 2010/03/15 06:01:29 bicatali Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/ChangeLog,v 1.3 2011/06/02 10:42:41 jlec Exp $
+
+ 02 Jun 2011; Justin Lecher <jlec@gentoo.org> taucs-2.2.ebuild:
+ Make it gold ready, #369755
15 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> taucs-2.2.ebuild:
Forced metis (bug #309271), and changed flag static to static-libs
diff --git a/sci-libs/taucs/taucs-2.2.ebuild b/sci-libs/taucs/taucs-2.2.ebuild
index 020fd939cb0a..e7166b205f4d 100644
--- a/sci-libs/taucs/taucs-2.2.ebuild
+++ b/sci-libs/taucs/taucs-2.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/taucs-2.2.ebuild,v 1.2 2010/03/15 06:01:29 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/taucs-2.2.ebuild,v 1.3 2011/06/02 10:42:41 jlec Exp $
EAPI=2
inherit eutils toolchain-funcs flag-o-matic
@@ -15,7 +15,8 @@ LICENSE="LGPL-2.1"
IUSE="cilk doc static-libs"
SLOT="0"
-RDEPEND="virtual/blas
+RDEPEND="
+ virtual/blas
virtual/lapack
|| ( sci-libs/metis sci-libs/parmetis )
cilk? ( dev-lang/cilk )"
@@ -28,12 +29,14 @@ src_configure() {
cat > config/linux_shared.mk <<-EOF
CFLAGS=${CFLAGS} -fPIC
FC=$(tc-getFC)
+ CC=$(tc-getCC)
FFLAGS=${FFLAGS} -fPIC
LDFLAGS=${LDFLAGS} -fPIC
LIBBLAS=$(pkg-config --libs blas)
LIBLAPACK=$(pkg-config --libs lapack)
LIBF77=
EOF
+ [[ $(tc-getFC) =~ fortran ]] && echo "LIBF77=-lgfortran" >> config/linux_shared.mk
echo "LIBMETIS=$(pkg-config --libs metis)" >> config/linux_shared.mk
# no cat <<EOF because -o has a trailing space
if use cilk; then