aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2016-08-26 18:37:45 -0600
committerChristoph Junghans <ottxor@gentoo.org>2016-08-29 10:47:03 -0600
commit8a4ee23dab12892aa93bbb9b3b66ff5763771547 (patch)
tree4fec2d824f807d4334ecf571706abb0679ff4fbb /eclass
parentsci-biology/vcftool: version bump; adjust to new build system (diff)
downloadsci-8a4ee23dab12892aa93bbb9b3b66ff5763771547.tar.gz
sci-8a4ee23dab12892aa93bbb9b3b66ff5763771547.tar.bz2
sci-8a4ee23dab12892aa93bbb9b3b66ff5763771547.zip
mpi.eclass: block multilib mpi from gx86 (bug #519700)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mpi.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/mpi.eclass b/eclass/mpi.eclass
index b7ace33b3..3c201014e 100644
--- a/eclass/mpi.eclass
+++ b/eclass/mpi.eclass
@@ -56,6 +56,9 @@ mpi_classed() {
[[ ${CATEGORY} == mpi-* ]]
}
+#empi has no support for multilib yet
+mpi_classed && [[ ${_MULTILIB_BUILD} ]] && REQUIRED_USE="abi_x86_64? ( !abi_x86_32 )"
+
# @FUNCTION: mpi_class
# @RETURN: The name of the current class, or nothing if unclassed.
mpi_class() {