summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild')
-rw-r--r--sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild b/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild
index 2b16e2ac4a57..68457976545f 100644
--- a/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild
+++ b/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild
@@ -1,16 +1,14 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild,v 1.2 2010/11/08 17:17:44 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mosflm/mosflm-7.0.6-r2.ebuild,v 1.3 2010/12/16 13:38:18 jlec Exp $
EAPI="3"
-inherit fortran toolchain-funcs versionator eutils
+inherit eutils toolchain-funcs versionator
MY_PV="$(delete_all_version_separators)"
MY_P="${PN}${MY_PV}"
-FORTRAN="g77 gfortran ifc"
-
DESCRIPTION="A program for integrating single crystal diffraction data from area detectors"
HOMEPAGE="http://www.mrc-lmb.cam.ac.uk/harry/mosflm/"
SRC_URI="${HOMEPAGE}ver${MY_PV}/build-it-yourself/${MY_P}.tgz"
@@ -49,8 +47,8 @@ src_compile() {
emake \
MOSHOME="${S}" \
DPS="${S}" \
- FC=${FORTRANC} \
- FLINK=${FORTRANC} \
+ FC=$(tc-getFC) \
+ FLINK=$(tc-getFC) \
CC=$(tc-getCC) \
AR_FLAGS=vru \
MOSLIBS='-lccp4f -lccp4c -lxdl_view -lcurses -lXt -lmmdb -lccif -lstdc++' \