summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Whyman <thev00d00@gentoo.org>2017-12-16 10:27:11 +0000
committerIan Whyman <thev00d00@gentoo.org>2017-12-16 10:27:43 +0000
commitc0b9e2e92c9549415dcb0e3a24f1b7804e398766 (patch)
tree9c66c1eb143497386c4dae96a0d49abe71406ded /net-libs/libupnp
parentdev-libs/amdgpu-pro-opencl: remove some old versions (diff)
downloadgentoo-c0b9e2e92c9549415dcb0e3a24f1b7804e398766.tar.gz
gentoo-c0b9e2e92c9549415dcb0e3a24f1b7804e398766.tar.bz2
gentoo-c0b9e2e92c9549415dcb0e3a24f1b7804e398766.zip
net-libs/libupnp: Fix pkgconfig slotting #640422
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'net-libs/libupnp')
-rw-r--r--net-libs/libupnp/libupnp-1.8.3-r1.ebuild (renamed from net-libs/libupnp/libupnp-1.8.3.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-libs/libupnp/libupnp-1.8.3.ebuild b/net-libs/libupnp/libupnp-1.8.3-r1.ebuild
index 1de9d5f72d47..1f618d7ad3de 100644
--- a/net-libs/libupnp/libupnp-1.8.3.ebuild
+++ b/net-libs/libupnp/libupnp-1.8.3-r1.ebuild
@@ -61,7 +61,9 @@ src_install () {
# Slot pkgconfig
cd "${D}/usr/$(get_libdir)/pkgconfig" || die
mv libupnp.pc "libupnp-${SLOT}.pc" || die
- sed -i "s#/upnp#/upnp-${SLOT}#" "libupnp-${SLOT}.pc" || die
+ sed -i -e "s#/upnp#/upnp-${SLOT}#" \
+ -e "s#lupnp#lupnp-${SLOT}#" \
+ -e "s#lixml#lixml-${SLOT}#" "libupnp-${SLOT}.pc" || die
# Slot symlinks
cd "${D}/usr/$(get_libdir)" || die