commit:     746e53c83ab8c2eb8bb2d5fe43dbf03b024cdd94
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar  5 21:27:27 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar  5 21:27:27 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=746e53c8

sci-biology/align_to_scf: 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/align_to_scf/align_to_scf-1.06.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sci-biology/align_to_scf/align_to_scf-1.06.ebuild 
b/sci-biology/align_to_scf/align_to_scf-1.06.ebuild
index 5a75d5224..86ce20a83 100644
--- a/sci-biology/align_to_scf/align_to_scf-1.06.ebuild
+++ b/sci-biology/align_to_scf/align_to_scf-1.06.ebuild
@@ -1,9 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="View trace information at a given position missing from Roche 
.ace files"
 HOMEPAGE="http://genome.imb-jena.de/software/roche454ace2caf";
@@ -12,11 +10,9 @@ 
SRC_URI="http://genome.imb-jena.de/software/roche454ace2caf/download/src/align_t
 LICENSE="FLI-Jena"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 src_prepare(){
-       sed -i "s:^CC :CC=$(tc-getCC) #:" Makefile || die "sed failed"
-       sed -i "s:^LD :LD=$(tc-getCC) #:" Makefile || die "sed failed"
+       default
        sed -i 's:^CFLAGS.*:CFLAGS+= -D__LINUX__ -Wcast-align:' Makefile || die 
"sed failed"
        sed -i 's:^LDFLAGS =:#LDFLAGS =:' Makefile || die "sed failed"
 }

Reply via email to