aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/bigdft/bigdft-1.2.0.2.ebuild')
-rw-r--r--sci-libs/bigdft/bigdft-1.2.0.2.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
index c81e7303c..dc03955c7 100644
--- a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
+++ b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
@@ -46,13 +46,14 @@ src_prepare() {
}
src_configure() {
+ # fortran-2.eclass does not handle mpi wrappers
if use mpi; then
- MY_FC="mpif90"
- MY_CC="mpicc"
+ export FC="mpif90"
+ export CC="mpicc"
+ else
+ tc-export FC CC
fi
- tc-export FC CC
-
econf \
$(use_enable mpi) \
--enable-libpoissonsolver \