diff options
author | 2017-01-10 14:32:37 +0100 | |
---|---|---|
committer | 2017-01-15 18:53:17 +0100 | |
commit | 6764ffe099c90b89117afeb0087258ec76f3136f (patch) | |
tree | 9945e7170da61c9bf3360c8fa68902eabcb89c3d /sci-biology | |
parent | app-admin/salt: random_org unittest was moved to integration tests (diff) | |
download | gentoo-6764ffe099c90b89117afeb0087258ec76f3136f.tar.gz gentoo-6764ffe099c90b89117afeb0087258ec76f3136f.tar.bz2 gentoo-6764ffe099c90b89117afeb0087258ec76f3136f.zip |
sci-biology/abyss: only openmpi is supported
Closes: https://github.com/gentoo/gentoo/pull/3414
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/abyss/abyss-2.0.2-r1.ebuild (renamed from sci-biology/abyss/abyss-2.0.2.ebuild) | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/sci-biology/abyss/abyss-2.0.2.ebuild b/sci-biology/abyss/abyss-2.0.2-r1.ebuild index 92a3780e0ade..4533f9b824d6 100644 --- a/sci-biology/abyss/abyss-2.0.2.ebuild +++ b/sci-biology/abyss/abyss-2.0.2-r1.ebuild @@ -18,19 +18,28 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" dev-cpp/sparsehash dev-libs/boost:= - misc-haskell? ( dev-libs/gmp:0= - virtual/libffi:0= + misc-haskell? ( + dev-libs/gmp:0= + virtual/libffi:0= ) - mpi? ( virtual/mpi ) -" + mpi? ( sys-cluster/openmpi )" DEPEND="${RDEPEND} - misc-haskell? ( dev-lang/ghc - dev-haskell/mmap ) -" + misc-haskell? ( + dev-lang/ghc + dev-haskell/mmap + )" # todo: --enable-maxk=N configure option # todo: fix automagic mpi toggling +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + src_prepare() { default sed -i -e "s/-Werror//" configure.ac || die #365195 |