summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-16 06:26:23 +0100
committerSam James <sam@gentoo.org>2021-07-16 06:26:46 +0100
commit40e6e7d1871fcbd67e738eb577f58e87e6118cbe (patch)
tree5e3f8f8f503ec79eeb93b8e84d44a82bff8f18a4 /sci-libs/sundials/sundials-5.2.0.ebuild
parentapp-editors/vscodium: Bump to version 1.58.2 (diff)
downloadgentoo-40e6e7d1871fcbd67e738eb577f58e87e6118cbe.tar.gz
gentoo-40e6e7d1871fcbd67e738eb577f58e87e6118cbe.tar.bz2
gentoo-40e6e7d1871fcbd67e738eb577f58e87e6118cbe.zip
sci-libs/sundials: fix installation of examples on prefix
Closes: https://bugs.gentoo.org/802369 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/sundials/sundials-5.2.0.ebuild')
-rw-r--r--sci-libs/sundials/sundials-5.2.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index 3d60a524cc2c..c99c2b643966 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -64,7 +64,7 @@ src_configure() {
-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
-DEXAMPLES_ENABLE="$(usex examples)"
-DEXAMPLES_INSTALL=ON
- -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+ -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples"
-DUSE_GENERIC_MATH=ON
)
use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" )