1 |
commit: e7643c7ed7a8d7812fa416fd828666d126861590 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Mon Mar 30 19:12:50 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Mon Mar 30 19:12:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7643c7e |
7 |
|
8 |
sci-libs/jdqz: fix tests |
9 |
|
10 |
had to depend on [deprecated] on lapack |
11 |
|
12 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
13 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
14 |
|
15 |
sci-libs/jdqz/jdqz-1997.11.07.ebuild | 9 ++++----- |
16 |
1 file changed, 4 insertions(+), 5 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/jdqz/jdqz-1997.11.07.ebuild b/sci-libs/jdqz/jdqz-1997.11.07.ebuild |
19 |
index b2530c7..054ae05 100644 |
20 |
--- a/sci-libs/jdqz/jdqz-1997.11.07.ebuild |
21 |
+++ b/sci-libs/jdqz/jdqz-1997.11.07.ebuild |
22 |
@@ -15,13 +15,11 @@ KEYWORDS="~amd64" |
23 |
|
24 |
IUSE="doc" |
25 |
|
26 |
-# /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../jdlib/libjdqz.so: undefined reference to `zgegs_' |
27 |
-#/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../jdlib/libjdqz.so: undefined reference to `zgegv_' |
28 |
-RESTRICT="test" |
29 |
- |
30 |
+# vvirtual/lapack does not pull in [deprecated] so we have to deal with this mess like this until it does |
31 |
DEPEND=" |
32 |
virtual/blas |
33 |
virtual/lapack |
34 |
+ || ( sci-libs/openblas sci-libs/lapack[deprecated] ) |
35 |
" |
36 |
RDEPEND="${DEPEND}" |
37 |
BDEPEND="doc? ( dev-texlive/texlive-latex )" |
38 |
@@ -59,8 +57,9 @@ src_compile() { |
39 |
} |
40 |
|
41 |
src_test() { |
42 |
- cd jdtest || die |
43 |
+ cd "jdtest" || die |
44 |
emake |
45 |
+ cd ".." || die |
46 |
LD_LIBRARY_PATH="./jdlib" ./jdtest/example || die |
47 |
} |