commit: 6f1bc5344dd6e0482771040b604299c668786dfa Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Jan 27 18:25:38 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jan 27 18:25:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1bc534
dev-embedded/libftdi: fix pkgconfig files with USE=cxx Closes: https://bugs.gentoo.org/766818 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-embedded/libftdi/libftdi-1.5-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-embedded/libftdi/libftdi-1.5-r1.ebuild b/dev-embedded/libftdi/libftdi-1.5-r1.ebuild index 22e90fb4ca6..358cc5cf673 100644 --- a/dev-embedded/libftdi/libftdi-1.5-r1.ebuild +++ b/dev-embedded/libftdi/libftdi-1.5-r1.ebuild @@ -68,6 +68,13 @@ src_test() { src_install() { cmake_src_install + # Fix up pkgconfig files + # bug #766818 + if use cxx ; then + sed -i -e "s/libftdipp1/libftdi1/" "${ED}"/usr/lib64/pkgconfig/libftdi1.pc || die + sed -i -e "s/libftdi1/libftdipp1/" "${ED}"/usr/lib64/pkgconfig/libftdipp1.pc || die + fi + use python && python_optimize dodoc AUTHORS ChangeLog README TODO
