diff options
author | Sam James <sam@gentoo.org> | 2021-07-16 06:26:23 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-07-16 06:26:46 +0100 |
commit | 40e6e7d1871fcbd67e738eb577f58e87e6118cbe (patch) | |
tree | 5e3f8f8f503ec79eeb93b8e84d44a82bff8f18a4 /sci-libs | |
parent | app-editors/vscodium: Bump to version 1.58.2 (diff) | |
download | gentoo-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')
-rw-r--r-- | sci-libs/sundials/sundials-3.2.1.ebuild | 4 | ||||
-rw-r--r-- | sci-libs/sundials/sundials-5.2.0.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/sundials/sundials-5.7.0.ebuild | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild index 36bca3f96aa9..d58d6a9829ff 100644 --- a/sci-libs/sundials/sundials-3.2.1.ebuild +++ b/sci-libs/sundials/sundials-3.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -54,7 +54,7 @@ src_configure() { -DSUPERLUMT_ENABLE="$(usex superlumt)" -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+=( 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" ) diff --git a/sci-libs/sundials/sundials-5.7.0.ebuild b/sci-libs/sundials/sundials-5.7.0.ebuild index de4ffc5ebcaf..dc933a9a83e0 100644 --- a/sci-libs/sundials/sundials-5.7.0.ebuild +++ b/sci-libs/sundials/sundials-5.7.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" ) |