commit: 1b2736966b6579742b9e89b53c3e591bc891198c Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Mar 20 01:29:24 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sun Mar 20 01:30:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b273696
sys-apps/intel-cmt-cat: try to fix library load path for tests Bug: https://bugs.gentoo.org/834906 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild index 2c84f7f4c..61345cd83 100644 --- a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild +++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild @@ -34,7 +34,9 @@ RDEPEND=" " DEPEND=" ${RDEPEND} - test? ( appqos? ( dev-python/mock[${PYTHON_USEDEP}] ) ) + test? ( + appqos? ( dev-python/mock[${PYTHON_USEDEP}] ) + ) " REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -101,7 +103,7 @@ src_install() { unset DOCS python_foreach_impl python_install - if use perl ; then + if use perl; then pushd "lib/perl" || die unset DOCS myinst=( DESTDIR="${D}" ) @@ -113,7 +115,7 @@ src_install() { } src_test() { - python_foreach_impl python_test + LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${S}/lib" python_foreach_impl python_test } python_install() {
