1 |
commit: 40e6e7d1871fcbd67e738eb577f58e87e6118cbe |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 05:26:23 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 05:26:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e6e7d1 |
7 |
|
8 |
sci-libs/sundials: fix installation of examples on prefix |
9 |
|
10 |
Closes: https://bugs.gentoo.org/802369 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sci-libs/sundials/sundials-3.2.1.ebuild | 4 ++-- |
14 |
sci-libs/sundials/sundials-5.2.0.ebuild | 2 +- |
15 |
sci-libs/sundials/sundials-5.7.0.ebuild | 2 +- |
16 |
3 files changed, 4 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild |
19 |
index 36bca3f96aa..d58d6a9829f 100644 |
20 |
--- a/sci-libs/sundials/sundials-3.2.1.ebuild |
21 |
+++ b/sci-libs/sundials/sundials-3.2.1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
@@ -54,7 +54,7 @@ src_configure() { |
29 |
-DSUPERLUMT_ENABLE="$(usex superlumt)" |
30 |
-DEXAMPLES_ENABLE="$(usex examples)" |
31 |
-DEXAMPLES_INSTALL=ON |
32 |
- -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" |
33 |
+ -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" |
34 |
-DUSE_GENERIC_MATH=ON |
35 |
) |
36 |
use sparse && mycmakeargs+=( |
37 |
|
38 |
diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild |
39 |
index 3d60a524cc2..c99c2b64396 100644 |
40 |
--- a/sci-libs/sundials/sundials-5.2.0.ebuild |
41 |
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild |
42 |
@@ -64,7 +64,7 @@ src_configure() { |
43 |
-DSUPERLUMT_LIBRARY="-lsuperlu_mt" |
44 |
-DEXAMPLES_ENABLE="$(usex examples)" |
45 |
-DEXAMPLES_INSTALL=ON |
46 |
- -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" |
47 |
+ -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" |
48 |
-DUSE_GENERIC_MATH=ON |
49 |
) |
50 |
use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" ) |
51 |
|
52 |
diff --git a/sci-libs/sundials/sundials-5.7.0.ebuild b/sci-libs/sundials/sundials-5.7.0.ebuild |
53 |
index de4ffc5ebca..dc933a9a83e 100644 |
54 |
--- a/sci-libs/sundials/sundials-5.7.0.ebuild |
55 |
+++ b/sci-libs/sundials/sundials-5.7.0.ebuild |
56 |
@@ -64,7 +64,7 @@ src_configure() { |
57 |
-DSUPERLUMT_LIBRARY="-lsuperlu_mt" |
58 |
-DEXAMPLES_ENABLE="$(usex examples)" |
59 |
-DEXAMPLES_INSTALL=ON |
60 |
- -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" |
61 |
+ -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" |
62 |
-DUSE_GENERIC_MATH=ON |
63 |
) |
64 |
use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" ) |