From 40e6e7d1871fcbd67e738eb577f58e87e6118cbe Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 16 Jul 2021 06:26:23 +0100 Subject: sci-libs/sundials: fix installation of examples on prefix Closes: https://bugs.gentoo.org/802369 Signed-off-by: Sam James --- sci-libs/sundials/sundials-3.2.1.ebuild | 4 ++-- sci-libs/sundials/sundials-5.2.0.ebuild | 2 +- sci-libs/sundials/sundials-5.7.0.ebuild | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sci-libs/sundials') 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" ) -- cgit v1.2.3-65-gdbad