summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/rmblast/rmblast-1.2-r1.ebuild')
-rw-r--r--sci-biology/rmblast/rmblast-1.2-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sci-biology/rmblast/rmblast-1.2-r1.ebuild b/sci-biology/rmblast/rmblast-1.2-r1.ebuild
index db7c5a246910..72c740fd30e3 100644
--- a/sci-biology/rmblast/rmblast-1.2-r1.ebuild
+++ b/sci-biology/rmblast/rmblast-1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -9,7 +9,8 @@ MY_NCBI_BLAST_V=2.2.23+
DESCRIPTION="RepeatMasker compatible version of NCBI BLAST+"
HOMEPAGE="http://www.repeatmasker.org/RMBlast.html"
-SRC_URI="http://www.repeatmasker.org/rmblast-${PV}-ncbi-blast-${MY_NCBI_BLAST_V}-src.tar.gz"
+SRC_URI="http://www.repeatmasker.org/rmblast-${PV}-ncbi-blast-${MY_NCBI_BLAST_V}-src.tar.gz
+ https://dev.gentoo.org/~mgorny/dist/${P}-gcc47.patch.bz2"
LICENSE="OSL-2.1"
SLOT="0"
@@ -30,7 +31,7 @@ src_prepare() {
-e "/DEF_FAST_FLAGS=/s:=\".*\":=\"${CFLAGS}\":g" \
-e 's/2.95\* | 2.96\* | 3\.\* | 4\.\* )/2.95\* | 2.96\* | \[3-9\]\.\* )/g' \
-i src/build-system/configure || die
- epatch "${FILESDIR}"/${P}-gcc47.patch
+ epatch "${WORKDIR}"/${P}-gcc47.patch
}
src_configure() {