commit:     02be6bccd47063371eca97a72093539d61fc303f
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Feb 20 20:18:39 2021 +0000
Commit:     Jakov Smolić <jakov.smolic <AT> sartura <DOT> hr>
CommitDate: Sat Feb 20 21:57:41 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=02be6bcc

sci-biology/mrfast: Port to EAPI 7

Closes: https://bugs.gentoo.org/755764
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>

 sci-biology/mrfast/mrfast-2.6.0.1.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/sci-biology/mrfast/mrfast-2.6.0.1.ebuild 
b/sci-biology/mrfast/mrfast-2.6.0.1.ebuild
index 3c81f7281..5d89c0822 100644
--- a/sci-biology/mrfast/mrfast-2.6.0.1.ebuild
+++ b/sci-biology/mrfast/mrfast-2.6.0.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Micro Read Fast Alignment Search Tool"
 HOMEPAGE="http://mrfast.sourceforge.net/";
@@ -11,10 +11,10 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-IUSE=""
 KEYWORDS="~amd64"
 
 src_prepare() {
+       default
        sed \
                -e '/^CC/s:=:?=:g' \
                -e 's/CFLAGS =/CFLAGS +=/' \
@@ -22,7 +22,12 @@ src_prepare() {
                -e 's:-O3.*::g' \
                -e 's:$(CC) $(OBJECTS):$(CC) $(LDFLAGS) $(OBJECTS):g' \
                -i Makefile || die
+}
+
+src_configure() {
        tc-export CC
+       append-cflags -fcommon
+       default
 }
 
 src_install() {

Reply via email to