public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: profiles/, sci-biology/perga/
@ 2021-03-18 10:44 Andrew Ammerlaan
  0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2021-03-18 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     e3c868fdcb628a652f306cf48a793a3e510fc4c0
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar 18 10:43:29 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 18 10:43:58 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e3c868fd

sci-biology/perga: EAPI bump, fix build

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

 profiles/package.mask               |  5 -----
 sci-biology/perga/perga-9999.ebuild | 13 +++++++------
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 823764d0f..c58354855 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -79,11 +79,6 @@ sci-biology/grass
 # Masked for removal in 14 days, if you need this please complain
 sci-biology/igv
 
-# Andrew Ammerlaan <andrewammerlaan@riseup.net> (06 March 2021)
-# Does not compile, latest update in 2015
-# Masked for removal in 14 days, if you need this please complain
-sci-biology/perga
-
 # Andrew Ammerlaan <andrewammerlaan@riseup.net> (06 March 2021)
 # Does not fetch, last update in 2009
 # Masked for removal in 14 days, if you need this please complain

diff --git a/sci-biology/perga/perga-9999.ebuild b/sci-biology/perga/perga-9999.ebuild
index aeb6e2630..267b31ce4 100644
--- a/sci-biology/perga/perga-9999.ebuild
+++ b/sci-biology/perga/perga-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit git-r3 eutils toolchain-funcs
+inherit flag-o-matic git-r3 toolchain-funcs
 
 DESCRIPTION="Paired End Reads Guided Assembler"
 HOMEPAGE="https://github.com/hitbio/PERGA
@@ -13,17 +13,18 @@ EGIT_REPO_URI="https://github.com/hitbio/PERGA.git"
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
 src_prepare(){
+	default
+	# needed for newer gcc versions
+	append-cflags -Wl,--unresolved-symbols=ignore-in-object-files
 	sed -e "s/gcc -g /$(tc-getCC) ${CFLAGS} ${LDFLAGS} /" -i src/Makefile || die
 	sed -e 's/-Wl,-O1//' -i src/Makefile || die
 }
 
-# does not compile with gcc-5.3.0 but 4.9.3 works
 src_compile(){
 	cd src || die
 	emake
@@ -31,5 +32,5 @@ src_compile(){
 
 src_install(){
 	dobin src/perga
-	dodoc README
+	einstalldocs
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-18 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-18 10:44 [gentoo-commits] proj/sci:master commit in: profiles/, sci-biology/perga/ Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox