aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsbronder <jsbronder@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-25 14:29:17 +0000
committerjsbronder <jsbronder@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-25 14:29:17 +0000
commit676c2d006a399165dba123a6b078c0f8dce529fe (patch)
tree311bb188a478af93cf268915c50b6a6115dd3c6d /eclass/mpi.eclass
parentoctave-forge.eclass now uses octave's pkg.m for compiling packages. (diff)
downloadsci-676c2d006a399165dba123a6b078c0f8dce529fe.tar.gz
sci-676c2d006a399165dba123a6b078c0f8dce529fe.tar.bz2
sci-676c2d006a399165dba123a6b078c0f8dce529fe.zip
Don't use eselect-mpi in get_mpi_dir if empi is not being used
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@988 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'eclass/mpi.eclass')
-rw-r--r--eclass/mpi.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/mpi.eclass b/eclass/mpi.eclass
index deac1d848..8e59f5257 100644
--- a/eclass/mpi.eclass
+++ b/eclass/mpi.eclass
@@ -134,7 +134,7 @@ get_imp() {
}
get_mpi_dir() {
- if is_imp ${CATEGORY} || is_empi_imp_build; then
+ if is_empi_build && is_imp ${CATEGORY}; then
echo "/usr/$(get_libdir)/mpi/${MPI_IMP}"
fi
}