summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2005-11-22 14:55:06 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2005-11-22 14:55:06 +0000
commit5c99158b01bbcaecd9075cd507051652a5188811 (patch)
treed504b14dbca374ee36e547daaa9f34a786bffb58 /eclass
parentStable on amd64, bug 112840. (diff)
downloadgentoo-2-5c99158b01bbcaecd9075cd507051652a5188811.tar.gz
gentoo-2-5c99158b01bbcaecd9075cd507051652a5188811.tar.bz2
gentoo-2-5c99158b01bbcaecd9075cd507051652a5188811.zip
Some tidy up and added call to eautoreconf.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/fortran.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/fortran.eclass b/eclass/fortran.eclass
index 2b5bf3954211..747d2d9351c5 100644
--- a/eclass/fortran.eclass
+++ b/eclass/fortran.eclass
@@ -1,11 +1,11 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/fortran.eclass,v 1.10 2005/09/02 21:40:26 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/fortran.eclass,v 1.11 2005/11/22 14:55:06 kugelfang Exp $
#
# Author: Danny van Dyk <kugelfang@gentoo.org>
#
-inherit eutils
+inherit eutils autotools
DESCRIPTION="Based on the ${ECLASS} eclass"
@@ -141,13 +141,14 @@ patch_fortran() {
if [ -z "${FORTRANC}" ]; then
return
fi
- local PATCHES=$(find ${FILESDIR}/ -name "${P}-${FORTRANC}*")
-#local PATCHES=${FILESDIR}/${P}-${FORTRANC}*
+ local PATCHES=$(find ${FILESDIR} -name "${P}-${FORTRANC}-*")
+ einfo "Applying patches for selected FORTRAN compiler: ${FORTRANC}"
local PATCH
if [ -n "${PATCHES}" ]; then
for PATCH in ${PATCHES}; do
epatch ${PATCH}
done
+ eautoreconf
fi
}