commit: dd952e12e2347c07325a46c535463a29c03fdf5b Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Wed May 25 12:11:24 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Wed May 25 12:17:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd952e12
sys-cluster/Graph500: conditional chrpath Closes: https://bugs.gentoo.org/847340 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> sys-cluster/Graph500/Graph500-1.2.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys-cluster/Graph500/Graph500-1.2.ebuild b/sys-cluster/Graph500/Graph500-1.2.ebuild index dae92c7d6..36601d979 100644 --- a/sys-cluster/Graph500/Graph500-1.2.ebuild +++ b/sys-cluster/Graph500/Graph500-1.2.ebuild @@ -51,7 +51,10 @@ src_install() { doins *.html insinto "/usr/share/octave/site/m/${PN}" doins -r octave/* - chrpath -d "${ED}/usr/bin/graph500_mpi_one_sided" || die - chrpath -d "${ED}/usr/bin/graph500_mpi_simple" || die - chrpath -d "${ED}/usr/bin/generator_test_mpi" || die + + if use mpi ; then + chrpath -d "${ED}/usr/bin/graph500_mpi_one_sided" || die + chrpath -d "${ED}/usr/bin/graph500_mpi_simple" || die + chrpath -d "${ED}/usr/bin/generator_test_mpi" || die + fi }
