1 |
commit: edf1cd8c7acd0369e94308ab5cdbcfea6c81e50b |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Fri Mar 23 00:47:46 2018 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Fri Mar 23 00:47:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=edf1cd8c |
7 |
|
8 |
sci-biology/augustus: respect EPREFIX and new DEPENDency |
9 |
|
10 |
The dependency is brought in through the comparative gene prediction |
11 |
code. |
12 |
|
13 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
14 |
|
15 |
sci-biology/augustus/augustus-3.3.ebuild | 12 +++++++++--- |
16 |
1 file changed, 9 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/sci-biology/augustus/augustus-3.3.ebuild b/sci-biology/augustus/augustus-3.3.ebuild |
19 |
index b050f1da2..b2b19a04e 100644 |
20 |
--- a/sci-biology/augustus/augustus-3.3.ebuild |
21 |
+++ b/sci-biology/augustus/augustus-3.3.ebuild |
22 |
@@ -17,7 +17,10 @@ SLOT="0" |
23 |
KEYWORDS="~amd64 ~x86" |
24 |
IUSE="examples" |
25 |
|
26 |
+# TODO: provide USE for mysql and sqlite, edit src/Makefile to reflect paths |
27 |
+# and common.mk |
28 |
RDEPEND=" |
29 |
+ sci-mathematics/lpsolve |
30 |
sci-libs/gsl |
31 |
dev-libs/boost |
32 |
sys-libs/zlib" |
33 |
@@ -30,10 +33,13 @@ src_prepare() { |
34 |
# epatch "${FILESDIR}"/${P}-sane-build.patch |
35 |
tc-export CC CXX |
36 |
sed -e 's/ -O3//g' -i src/Makefile || die |
37 |
- # enable comparative gene prediction (needs c++11 compiler) |
38 |
+ # enable comparative gene prediction (needs c++11 compiler), |
39 |
+ # this needs sci-mathematics/lpsolve |
40 |
sed -e 's/^# COMPGENEPRED/COMPGENEPRED/' -i common.mk || die |
41 |
- # respect $EPREFIX |
42 |
- sed -e 's#^INCLUDES = /usr/include/bamtools#INCLUDES = ${EPREFIX}/usr/include/bamtools#' -i auxprogs/bam2hints/Makefile || die |
43 |
+ # respect $EPREFIX at src/Makefile, auxprogs/bam2hints/Makefile, more? |
44 |
+ find . -name Makefile | while read f; do \ |
45 |
+ sed -s 's#/usr/include#${EPREFIX}/usr/include#' -i $f || die; |
46 |
+ done |
47 |
} |
48 |
|
49 |
src_compile() { |