summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/cyana/cyana-2.1.ebuild')
-rw-r--r--sci-chemistry/cyana/cyana-2.1.ebuild18
1 files changed, 4 insertions, 14 deletions
diff --git a/sci-chemistry/cyana/cyana-2.1.ebuild b/sci-chemistry/cyana/cyana-2.1.ebuild
index 33da7dea6ff5..e3b22141cbd3 100644
--- a/sci-chemistry/cyana/cyana-2.1.ebuild
+++ b/sci-chemistry/cyana/cyana-2.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/cyana-2.1.ebuild,v 1.10 2012/10/19 09:45:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/cyana-2.1.ebuild,v 1.11 2013/02/08 12:14:24 jlec Exp $
EAPI=4
@@ -47,19 +47,9 @@ src_prepare() {
FORK=g77fork.o
LDFLAGS=${LDFLAGS} -reentrancy threaded -openmp
LIBS=
+ DEFS=-Dintel
+ SYSTEM=intel
EOF
-
- if [[ $(tc-getFC) =~ gfortran ]]; then
- cat >> etc/config <<- EOF
- DEFS=-Dgfortran
- SYSTEM=gfortran
- EOF
- else
- cat >> etc/config <<- EOF
- DEFS=-Dintel
- SYSTEM=intel
- EOF
- fi
}
src_compile() {