From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- sci-biology/mrbayes/mrbayes-3.1.2-r2.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'sci-biology/mrbayes/mrbayes-3.1.2-r2.ebuild') diff --git a/sci-biology/mrbayes/mrbayes-3.1.2-r2.ebuild b/sci-biology/mrbayes/mrbayes-3.1.2-r2.ebuild index ecc44fe43454..cee9e0f2d286 100644 --- a/sci-biology/mrbayes/mrbayes-3.1.2-r2.ebuild +++ b/sci-biology/mrbayes/mrbayes-3.1.2-r2.ebuild @@ -1,26 +1,29 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Bayesian Inference of Phylogeny" HOMEPAGE="http://mrbayes.csit.fsu.edu/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" IUSE="debug mpi readline" DEPEND=" - sys-libs/ncurses:0= + sys-libs/ncurses:= mpi? ( virtual/mpi ) - readline? ( sys-libs/readline:0= )" + readline? ( sys-libs/readline:= ) +" RDEPEND="${DEPEND}" src_prepare() { + default + if use mpi; then sed -e "s:MPI ?= no:MPI=yes:" -i Makefile || die "Patching MPI support." fi @@ -30,7 +33,7 @@ src_prepare() { else # Only needed for OSX with an old (4.x) version of # libreadline, but it doesn't hurt for other distributions. - epatch "${FILESDIR}"/mb_readline_312.patch + eapply "${FILESDIR}"/mb_readline_312.patch fi sed -e 's:-ggdb::g' -i Makefile || die } -- cgit v1.2.3