aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-20 02:29:24 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-20 02:30:57 +0100
commit1b2736966b6579742b9e89b53c3e591bc891198c (patch)
tree0aad000275ff70f60dc5acad74ac123fb34f9412
parentdev-util/rpmlint: add 2.2.0, drop 2.0.0 (diff)
downloadguru-1b2736966b6579742b9e89b53c3e591bc891198c.tar.gz
guru-1b2736966b6579742b9e89b53c3e591bc891198c.tar.bz2
guru-1b2736966b6579742b9e89b53c3e591bc891198c.zip
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@gmail.com>
-rw-r--r--sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild8
1 files 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() {