diff options
author | 2011-06-24 14:13:17 +0200 | |
---|---|---|
committer | 2011-06-24 14:13:17 +0200 | |
commit | 03e46df8ec234b81dd2277e3c8812ba589a52293 (patch) | |
tree | 76788bcccc390bffdf48ff9206b09c6c5251510c /sci-libs/bigdft/bigdft-1.2.0.2.ebuild | |
parent | Sort inherit and/or USE (diff) | |
download | sci-03e46df8ec234b81dd2277e3c8812ba589a52293.tar.gz sci-03e46df8ec234b81dd2277e3c8812ba589a52293.tar.bz2 sci-03e46df8ec234b81dd2277e3c8812ba589a52293.zip |
Streamlined fortran-2 eclass usage
(Portage version: 2.2.0_alpha41/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs/bigdft/bigdft-1.2.0.2.ebuild')
-rw-r--r-- | sci-libs/bigdft/bigdft-1.2.0.2.ebuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild index 1fdf1d339..c81e7303c 100644 --- a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild +++ b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild @@ -20,6 +20,7 @@ IUSE="cuda doc mpi test" RDEPEND=" =sci-libs/libxc-1.0[fortran] virtual/blas + virtual/fortran virtual/lapack mpi? ( virtual/mpi ) cuda? ( dev-util/nvidia-cuda-sdk )" @@ -48,11 +49,10 @@ src_configure() { if use mpi; then MY_FC="mpif90" MY_CC="mpicc" - else - MY_FC="$(tc-getFC)" - MY_CC="$(tc-getCC)" fi + tc-export FC CC + econf \ $(use_enable mpi) \ --enable-libpoissonsolver \ @@ -66,10 +66,7 @@ src_configure() { $(use_with cuda cuda-path /opt/cuda) \ $(use_with cuda lib-cutils /opt/cuda/lib) \ FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}" \ - FC="${MY_FC}" \ - CC="${MY_CC}" \ - LD="$(tc-getLD)" \ - || die "configure failed" + LD="$(tc-getLD)" } src_compile() { |