summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-10-07 17:01:38 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-10-07 17:01:38 +0000
commitdca259933077156db89e9e6d393ce9caf29abee9 (patch)
tree45210e6a7edfd8513b0b29575047f99c6a69ce49 /sci-chemistry/platon
parentadd dev-util/pkgconfig dep (diff)
downloadgentoo-2-dca259933077156db89e9e6d393ce9caf29abee9.tar.gz
gentoo-2-dca259933077156db89e9e6d393ce9caf29abee9.tar.bz2
gentoo-2-dca259933077156db89e9e6d393ce9caf29abee9.zip
Removed linking against -lf2c with gfortran since platon misbehaves otherwise (fixes bug #240238).
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 i686)
Diffstat (limited to 'sci-chemistry/platon')
-rw-r--r--sci-chemistry/platon/ChangeLog7
-rw-r--r--sci-chemistry/platon/platon-20080725.ebuild12
2 files changed, 8 insertions, 11 deletions
diff --git a/sci-chemistry/platon/ChangeLog b/sci-chemistry/platon/ChangeLog
index e406d01957f5..051727aed8ef 100644
--- a/sci-chemistry/platon/ChangeLog
+++ b/sci-chemistry/platon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/platon
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/ChangeLog,v 1.14 2008/08/30 11:27:28 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/ChangeLog,v 1.15 2008/10/07 17:01:38 markusle Exp $
+
+ 07 Oct 2008; Markus Dittrich <markusle@gentoo.org> platon-20080725.ebuild:
+ Removed linking against -lf2c with gfortran since platon misbehaves
+ otherwise (fixes bug #240238). Thanks much to Honza Macháček
+ <Hloupy.Honza@centrum.cz> for his suggested improvements.
*platon-20080725 (30 Aug 2008)
diff --git a/sci-chemistry/platon/platon-20080725.ebuild b/sci-chemistry/platon/platon-20080725.ebuild
index 768c000fae87..547157fdf9fe 100644
--- a/sci-chemistry/platon/platon-20080725.ebuild
+++ b/sci-chemistry/platon/platon-20080725.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-chemistry/platon/platon-20080725.ebuild,v 1.1 2008/08/30 11:27:28 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/platon/platon-20080725.ebuild,v 1.2 2008/10/07 17:01:37 markusle Exp $
inherit fortran toolchain-funcs flag-o-matic
@@ -15,8 +15,7 @@ KEYWORDS="~ppc ~x86 ~amd64"
IUSE=""
# Can't do libf2c dependent on whether <gcc-4 is selected for the build,
# so we must always require it
-RDEPEND="x11-libs/libX11
- dev-libs/libf2c"
+RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
@@ -36,13 +35,6 @@ src_unpack() {
}
src_compile() {
- local F2C
- # Needs signal_ and system_, which g77 and libf2c provide,
- # but gfortran does not
- if [[ ${FORTRANC} != g77 ]]; then
- F2C="-lf2c"
- fi
-
# easy to ICE, at least on gcc 4.3
strip-flags