summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-27 18:33:04 +0000
committerSam James <sam@gentoo.org>2021-01-27 18:33:04 +0000
commit27123f8a50fa33d64286acfb47cc08d4a5253ad2 (patch)
tree075399b01b907be92a58366ebfa985ef4f93e295 /dev-embedded
parentdev-embedded/libftdi: fix pkgconfig files with USE=cxx (diff)
downloadgentoo-27123f8a50fa33d64286acfb47cc08d4a5253ad2.tar.gz
gentoo-27123f8a50fa33d64286acfb47cc08d4a5253ad2.tar.bz2
gentoo-27123f8a50fa33d64286acfb47cc08d4a5253ad2.zip
dev-embedded/libftdi: fix lib path
Autopilot! Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/libftdi/libftdi-1.5-r2.ebuild (renamed from dev-embedded/libftdi/libftdi-1.5-r1.ebuild)4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-embedded/libftdi/libftdi-1.5-r1.ebuild b/dev-embedded/libftdi/libftdi-1.5-r2.ebuild
index 358cc5cf673c..198c985d187e 100644
--- a/dev-embedded/libftdi/libftdi-1.5-r1.ebuild
+++ b/dev-embedded/libftdi/libftdi-1.5-r2.ebuild
@@ -71,8 +71,8 @@ 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
+ 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