summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/bfast/bfast-0.7.0a.ebuild')
-rw-r--r--sci-biology/bfast/bfast-0.7.0a.ebuild39
1 files changed, 13 insertions, 26 deletions
diff --git a/sci-biology/bfast/bfast-0.7.0a.ebuild b/sci-biology/bfast/bfast-0.7.0a.ebuild
index 97282d2244a4..6a48785022f4 100644
--- a/sci-biology/bfast/bfast-0.7.0a.ebuild
+++ b/sci-biology/bfast/bfast-0.7.0a.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils flag-o-matic
+inherit autotools
DESCRIPTION="Blat-like Fast Accurate Search Tool"
HOMEPAGE="https://sourceforge.net/projects/bfast/"
@@ -13,30 +11,19 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="test" # tests broken, upstream unresponsive
-DEPEND=""
RDEPEND="dev-perl/XML-Simple"
-src_prepare() {
- sed \
- -e 's/-m64//' \
- -e 's/CFLAGS="${default_CFLAGS} ${extended_CFLAGS}"/CFLAGS="${CFLAGS} ${default_CFLAGS} ${extended_CFLAGS}"/' \
- -e 's:-g -O2::g' \
- -i configure.ac || die
- sed \
- -e 's:. test.definitions.sh:. ./test.definitions.sh:g' \
- -i tests/*sh || die
-
- sed \
- -e '/docdir/d' \
- -i Makefile.am || die
-
- use test && AUTOTOOLS_IN_SOURCE_BUILD=1
+PATCHES=(
+ "${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${P}-test-sourcing.patch
+ "${FILESDIR}"/${P}-C99-inline.patch
+)
- append-flags -fgnu89-inline
-
- autotools-utils_src_prepare
+src_prepare() {
+ default
+ eautoreconf
}