commit:     ab0138b5b38bb3d6b7ef839f590325bb4acb2d6b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar  6 13:35:27 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar  6 13:35:27 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ab0138b5

sci-biology/quorum: EAPI bump, fix build

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-biology/quorum/quorum-1.1.1.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/sci-biology/quorum/quorum-1.1.1.ebuild 
b/sci-biology/quorum/quorum-1.1.1.ebuild
index 6fa222ff7..4af286fcb 100644
--- a/sci-biology/quorum/quorum-1.1.1.ebuild
+++ b/sci-biology/quorum/quorum-1.1.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 DESCRIPTION="Correct substitution errors in Illumina reads"
 HOMEPAGE="http://www.genome.umd.edu/quorum.html
@@ -11,11 +11,17 @@ 
SRC_URI="https://github.com/gmarcais/Quorum/releases/download/v${PV}/${P}.tar.gz
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND=">=sci-biology/jellyfish-2.1.4:2"
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+       default
+       # fix jellyfish include path
+       find -type f -name "*.cc" -exec sed -i -e 
's/<jellyfish\//<jellyfish2\//g' {} + || die
+       find -type f -name "*.hpp" -exec sed -i -e 
's/<jellyfish\//<jellyfish2\//g' {} + || die
+}
+
 src_configure(){
        econf --enable-relative-paths --with-relative-jf-path
        default

Reply via email to