summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2021-02-22 22:06:18 +0100
committerSebastian Pipping <sping@gentoo.org>2021-02-22 22:06:32 +0100
commit8f3c108eac3e085f25e840e42ed5559dfb2d3ee9 (patch)
tree69805fe30c5a83e07a0d4152ff84d425c085ff64 /net-libs/libaxc
parentnet-libs/libomemo: Fix pkg-config libdir for amd64 (diff)
downloadgentoo-8f3c108eac3e085f25e840e42ed5559dfb2d3ee9.tar.gz
gentoo-8f3c108eac3e085f25e840e42ed5559dfb2d3ee9.tar.bz2
gentoo-8f3c108eac3e085f25e840e42ed5559dfb2d3ee9.zip
net-libs/libaxc: Fix pkg-config libdir for amd64
Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'net-libs/libaxc')
-rw-r--r--net-libs/libaxc/libaxc-0.3.4-r2.ebuild (renamed from net-libs/libaxc/libaxc-0.3.4-r1.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
index 1bb316fb7152..d85e8cf5de82 100644
--- a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.4-r2.ebuild
@@ -50,6 +50,8 @@ src_install() {
local libdir="$(get_libdir)"
if [[ ${libdir} != lib ]]; then
mv "${D}"/usr/{lib,${libdir}} || die
+ sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \
+ -i "${D}/usr/${libdir}/pkgconfig/libaxc.pc" || die
fi
einstalldocs