View | Details | Raw Unified
Collapse All | Expand All

(-) molden-4.3.ebuild (-8 / +1 lines)
 Lines 2-8    Link Here 
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-4.3.ebuild,v 1.4 2005/05/14 08:55:26 kloeri Exp $
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-4.3.ebuild,v 1.4 2005/05/14 08:55:26 kloeri Exp $
inherit eutils toolchain-funcs flag-o-matic
inherit eutils toolchain-funcs flag-o-matic fortran
MY_P="${PN}${PV}"
MY_P="${PN}${PV}"
DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac."
DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac."
 Lines 25-37    Link Here 
	# Set fortran compiler, since gcc-config doesn't
	# Set fortran compiler, since gcc-config doesn't
	[ -z ${FC} ] && FC="g77"
	[ -z ${FC} ] && FC="g77"
	# Check for fortran compiler
	if [ ! "`which ${FC} 2> /dev/null`" ]; then
		eerror "Fortran compiler not found."
		eerror "Please recompile sys-devel/gcc with fortran in USE flags."
		die
	fi
	unpack ${A}
	unpack ${A}
	cd ${S}
	cd ${S}