summaryrefslogtreecommitdiff
path: root/dev-embedded/libftdi
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/libftdi')
-rw-r--r--dev-embedded/libftdi/Manifest2
-rw-r--r--dev-embedded/libftdi/libftdi-9999.ebuild12
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-embedded/libftdi/Manifest b/dev-embedded/libftdi/Manifest
index 808a8f8a9c07..427831fa225b 100644
--- a/dev-embedded/libftdi/Manifest
+++ b/dev-embedded/libftdi/Manifest
@@ -7,5 +7,5 @@ DIST libftdi1-1.5.tar.bz2 116297 BLAKE2B 460ab93026e14a452e31fcc6930d305638fdc0e
EBUILD libftdi-0.20-r1.ebuild 1858 BLAKE2B f8ea4cd9ebc1f264a670c934622396061fe3cb092f646d43f5a5c5fb79b1bed10fab359a33be9a2a4d87c5456076d5f595223984d9c0abc1bc068becf5e9355d SHA512 58ed755709fb7082213f94a6a7c7d2977ff03cfb49b6852176c8a339369dd0e704c22f076fb5ca8819856718523b6d8a61efa262aa599a1b0f34721f1ca38880
EBUILD libftdi-1.4-r1.ebuild 1670 BLAKE2B ea9034c38431f1fae4f2c9dbbeba20fb2f6d32c4d4647478e0db36e312df74a5c5345b9deaf11b6ac63a314d56cadd0c91c0405f98a8aae5a98c2871f2d3248a SHA512 f9db8c7b9684a31d5f4aab93bad3554923ca163773e5cdec69207f358431e5f4234860ba1326723b4d4e083eed03fcf7758febc60c93b5d3682218aa6e5aed8f
EBUILD libftdi-1.5-r2.ebuild 2121 BLAKE2B 60c725640b23ece5c99f18d8287ad9f6e39435da5f660027a2b55856af8f0568f586f832f70d6e58e109c0673387cad7c39af9fc62e3391dfff2f42878bebd1e SHA512 e349ed1e56b011843cd0ac33368fee7aef991cb8b83accf959d9578da532f3a8c107e2488a59966f74c338b19da1d55577d6515a07b11aeed532c15811b77db2
-EBUILD libftdi-9999.ebuild 1783 BLAKE2B ffec02a64b3367554c7c02f36a063eb88b6244e32416619aea10e37df34450de840c058970ebfa9eeebb58e0839f2d64950fb5cd3702d8dddfa9e8c0226a15f7 SHA512 2631fe91a03893f1d61ac893f7865c0bac0ead2e509c6249dd2dbde35e466ea7b63ef45a7044224c8b658e208cdf39cc5ca5350824d1b7e5ec72527b24e4d723
+EBUILD libftdi-9999.ebuild 2070 BLAKE2B 24c97c8596fb7dd4679a5f60a510584421bd6a1a1f160f063db8d4faaa0473ffe7a2fe585d75039494795b6c44a33302bb34c2185a9f6d84a6ec227e8999b097 SHA512 28b15aeeb533c9952a2357068500178af2b6019914bf2f2bcba9252bd4e80580c60f8ac0f1bac51357f5d4e24f964c57a7b0c6654f73dec722ba264052c55ec5
MISC metadata.xml 317 BLAKE2B 4ff2cf3b9259460d23387c23356cbf63e43d31a1b6f78704c3f918b97c1ac7e5ca87ed027d4dccd063b8b60e00b8f080e73b2f40520da0552fd7302c68b1e6d6 SHA512 21fd21d84f507274617bf8c059517c75dbad08bbbb22b4655cfb7f31c824004881c1f8fc615215af05333e97770ce925f5ac0b580283901032f6c6145ffa1aba
diff --git a/dev-embedded/libftdi/libftdi-9999.ebuild b/dev-embedded/libftdi/libftdi-9999.ebuild
index 028e9c9ad1cb..9b1e30890f4a 100644
--- a/dev-embedded/libftdi/libftdi-9999.ebuild
+++ b/dev-embedded/libftdi/libftdi-9999.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
@@ -60,11 +60,19 @@ 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
+
+ # Fix up pkgconfig files
+ # bug #766818
+ if use cxx ; then
+ sed -i -e "s/libftdipp1/libftdi1/" "${ED}"/usr/$(get_libdir)/pkgconfig/libftdi1.pc || die
+ sed -i -e "s/libftdi1/libftdipp1/" "${ED}"/usr/$(get_libdir)/pkgconfig/libftdipp1.pc || die
+ fi
+
use python && python_optimize
dodoc AUTHORS ChangeLog README TODO