aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-04-03 16:34:21 +0100
committerDavid Seifert <soap@gentoo.org>2016-04-03 19:43:47 +0200
commitf1f6c31bb308f59777bb396827099ec71b4b35a1 (patch)
tree1e3cbcbbd39d4247686ca33797e54830ab01a32f /sci-biology/abyss/abyss-1.3.6-r1.ebuild
parentsci-biology/MolBioLib: yet another package with bundled samtools, bamtools etc. (diff)
downloadsci-f1f6c31bb308f59777bb396827099ec71b4b35a1.tar.gz
sci-f1f6c31bb308f59777bb396827099ec71b4b35a1.tar.bz2
sci-f1f6c31bb308f59777bb396827099ec71b4b35a1.zip
sci-biology/abyss: fix automagic haskell deps, bug #534412
It's a ::gentoo change a50e1769e82e28dedb16083ac9136f17f9af2297 Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/534412 Package-Manager: portage-2.2.28
Diffstat (limited to 'sci-biology/abyss/abyss-1.3.6-r1.ebuild')
-rw-r--r--sci-biology/abyss/abyss-1.3.6-r1.ebuild19
1 files changed, 15 insertions, 4 deletions
diff --git a/sci-biology/abyss/abyss-1.3.6-r1.ebuild b/sci-biology/abyss/abyss-1.3.6-r1.ebuild
index f002a9578..a449c72dc 100644
--- a/sci-biology/abyss/abyss-1.3.6-r1.ebuild
+++ b/sci-biology/abyss/abyss-1.3.6-r1.ebuild
@@ -14,14 +14,21 @@ SRC_URI="http://www.bcgsc.ca/downloads/abyss/${P}.tar.gz"
LICENSE="abyss"
SLOT="0"
-IUSE="+mpi openmp"
+IUSE="+mpi openmp misc-haskell"
KEYWORDS="~amd64 ~x86"
-DEPEND="
+RDEPEND="
dev-cpp/sparsehash
dev-libs/boost
- mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
+ misc-haskell? ( dev-libs/gmp:0=
+ virtual/libffi:0=
+ )
+ mpi? ( virtual/mpi )
+"
+DEPEND="${RDEPEND}
+ misc-haskell? ( dev-lang/ghc
+ dev-haskell/mmap )
+"
# todo: --enable-maxk=N configure option
# todo: fix automagic mpi toggling
@@ -40,6 +47,10 @@ src_prepare() {
}
src_configure() {
+ # disable building haskell tool Misc/samtobreak
+ # unless request by user: bug #534412
+ use misc-haskell || export ac_cv_prog_ac_ct_GHC=
+
local myeconfargs=(
--docdir="${EPREFIX}/usr/share/doc/${PF}"
$(use_enable openmp)