diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-02-08 23:33:45 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-02-08 23:33:55 +0000 |
commit | a50e1769e82e28dedb16083ac9136f17f9af2297 (patch) | |
tree | e663180782a243f8bade11a81d70afe6b7cf729d /sci-biology/abyss | |
parent | app-emulation/vmware-modules: Add patches for compilation with Kernel 4.2, bu... (diff) | |
download | gentoo-a50e1769e82e28dedb16083ac9136f17f9af2297.tar.gz gentoo-a50e1769e82e28dedb16083ac9136f17f9af2297.tar.bz2 gentoo-a50e1769e82e28dedb16083ac9136f17f9af2297.zip |
sci-biology/abyss: fix automagic haskell deps, bug #534412
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/534412
Package-Manager: portage-2.2.27
Diffstat (limited to 'sci-biology/abyss')
-rw-r--r-- | sci-biology/abyss/abyss-1.3.6.ebuild | 19 | ||||
-rw-r--r-- | sci-biology/abyss/metadata.xml | 7 |
2 files changed, 22 insertions, 4 deletions
diff --git a/sci-biology/abyss/abyss-1.3.6.ebuild b/sci-biology/abyss/abyss-1.3.6.ebuild index 04dcc7ce6a25..904b3e1e65a6 100644 --- a/sci-biology/abyss/abyss-1.3.6.ebuild +++ b/sci-biology/abyss/abyss-1.3.6.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 @@ -39,6 +46,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) diff --git a/sci-biology/abyss/metadata.xml b/sci-biology/abyss/metadata.xml index 959160fe46b1..c0c84f0ed07e 100644 --- a/sci-biology/abyss/metadata.xml +++ b/sci-biology/abyss/metadata.xml @@ -5,4 +5,11 @@ <email>sci-biology@gentoo.org</email> <name>Gentoo Biology Project</name> </maintainer> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name='misc-haskell'>build abyss-samtobreak tool, pull in haskell toolchain</flag> + </use> </pkgmetadata> |