diff options
author | Sam James <sam@gentoo.org> | 2021-01-27 18:24:05 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-27 18:25:42 +0000 |
commit | f683b84828b3dcaec7b67743f2ef34bf16b199f1 (patch) | |
tree | b35a7107feece513f8c07e53445f6dc1b7f73560 /dev-embedded/libftdi | |
parent | dev-ml/opam-installer: add dep (diff) | |
download | gentoo-f683b84828b3dcaec7b67743f2ef34bf16b199f1.tar.gz gentoo-f683b84828b3dcaec7b67743f2ef34bf16b199f1.tar.bz2 gentoo-f683b84828b3dcaec7b67743f2ef34bf16b199f1.zip |
dev-embedded/libftdi: fix tests w/o libftdi installed
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded/libftdi')
-rw-r--r-- | dev-embedded/libftdi/libftdi-1.5-r1.ebuild (renamed from dev-embedded/libftdi/libftdi-1.5.ebuild) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-embedded/libftdi/libftdi-1.5.ebuild b/dev-embedded/libftdi/libftdi-1.5-r1.ebuild index cd5cc4c3539f..22e90fb4ca69 100644 --- a/dev-embedded/libftdi/libftdi-1.5.ebuild +++ b/dev-embedded/libftdi/libftdi-1.5-r1.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 @@ -62,11 +62,12 @@ src_configure() { src_test() { cd "${BUILD_DIR}/test" || die - ./test_libftdi1 -l all || die + LD_LIBRARY_PATH="${BUILD_DIR}/src" ./test_libftdi1 -l all || die } src_install() { cmake_src_install + use python && python_optimize dodoc AUTHORS ChangeLog README TODO |