public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/abyss/
Date: Mon,  8 Feb 2016 23:34:26 +0000 (UTC)	[thread overview]
Message-ID: <1454974435.a50e1769e82e28dedb16083ac9136f17f9af2297.slyfox@gentoo> (raw)

commit:     a50e1769e82e28dedb16083ac9136f17f9af2297
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 23:33:45 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 23:33:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50e1769

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

 sci-biology/abyss/abyss-1.3.6.ebuild | 19 +++++++++++++++----
 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 04dcc7c..904b3e1 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 959160f..c0c84f0 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>


             reply	other threads:[~2016-02-08 23:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 23:34 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-15  8:26 [gentoo-commits] repo/gentoo:master commit in: sci-biology/abyss/ Sergei Trofimovich
2016-09-18 22:51 Sergei Trofimovich
2016-11-06 13:12 Sergei Trofimovich
2017-01-15 17:54 David Seifert
2018-03-15 23:33 Sergei Trofimovich
2020-05-25 10:56 Sergei Trofimovich
2020-06-21 10:36 Sergei Trofimovich
2020-06-21 16:47 Sergei Trofimovich
2021-07-24 10:09 Sergei Trofimovich
2022-01-13 11:21 Andrew Ammerlaan
2022-07-30  8:31 Sam James
2024-03-08 11:09 Sam James
2024-03-08 11:09 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454974435.a50e1769e82e28dedb16083ac9136f17f9af2297.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox