summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-16 15:10:59 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-16 15:10:59 +0000
commit436c10d4737e1547022d9b3bf76d1b01b017265a (patch)
tree543b53be1000557c65d91b519a777518436d80a3
parentFix installation of docs, bug #347405 by Steffen Schaumburg <steffen@schaumbu... (diff)
downloadgentoo-2-436c10d4737e1547022d9b3bf76d1b01b017265a.tar.gz
gentoo-2-436c10d4737e1547022d9b3bf76d1b01b017265a.tar.bz2
gentoo-2-436c10d4737e1547022d9b3bf76d1b01b017265a.zip
Removal of fortran.eclass, #348851
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
-rw-r--r--sci-chemistry/mopac7/ChangeLog5
-rw-r--r--sci-chemistry/mopac7/mopac7-1.15.ebuild8
2 files changed, 7 insertions, 6 deletions
diff --git a/sci-chemistry/mopac7/ChangeLog b/sci-chemistry/mopac7/ChangeLog
index 073983f40563..36e51188e74e 100644
--- a/sci-chemistry/mopac7/ChangeLog
+++ b/sci-chemistry/mopac7/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/mopac7
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mopac7/ChangeLog,v 1.24 2010/12/02 07:56:24 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mopac7/ChangeLog,v 1.25 2010/12/16 15:10:59 jlec Exp $
+
+ 16 Dec 2010; Justin Lecher <jlec@gentoo.org> mopac7-1.15.ebuild:
+ Removal of fortran.eclass, #348851
02 Dec 2010; Justin Lecher <jlec@gentoo.org> -mopac7-1.13.ebuild,
-mopac7-1.13-r1.ebuild, -mopac7-1.14-r1.ebuild:
diff --git a/sci-chemistry/mopac7/mopac7-1.15.ebuild b/sci-chemistry/mopac7/mopac7-1.15.ebuild
index a443f5309dfe..12000a1c9bfc 100644
--- a/sci-chemistry/mopac7/mopac7-1.15.ebuild
+++ b/sci-chemistry/mopac7/mopac7-1.15.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mopac7/mopac7-1.15.ebuild,v 1.3 2010/10/10 11:00:09 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mopac7/mopac7-1.15.ebuild,v 1.4 2010/12/16 15:10:59 jlec Exp $
EAPI="3"
-inherit autotools fortran
+inherit autotools toolchain-funcs
DESCRIPTION="Autotooled, updated version of a powerful, fast semi-empirical package"
HOMEPAGE="http://sourceforge.net/projects/mopac7/"
@@ -21,8 +21,6 @@ IUSE="gmxmopac7 static-libs"
DEPEND="dev-libs/libf2c"
RDEPEND="${DEPEND}"
-FORTRAN="gfortran"
-
src_prepare() {
# Install the executable
sed -i \
@@ -54,7 +52,7 @@ src_compile() {
cp -f "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
sed "s:GENTOOVERSION:${PV}:g" -i Makefile
emake \
- FC=${FORTRANC} || die
+ FC=$(tc-getFC) || die
if use static-libs; then
emake static || die
fi