summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-07 22:57:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-07 22:59:50 +0200
commitff4c1ce28854c754a92320e2df253042a50d9eae (patch)
tree1b1c1704e882d16647a14ce1b031cea28af47da8 /dev-libs/kqoauth
parentdev-libs/kqoauth: fix the .pc that gets installed (diff)
downloadgentoo-ff4c1ce28854c754a92320e2df253042a50d9eae.tar.gz
gentoo-ff4c1ce28854c754a92320e2df253042a50d9eae.tar.bz2
gentoo-ff4c1ce28854c754a92320e2df253042a50d9eae.zip
dev-libs/kqoauth: Improve sed
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/kqoauth')
-rw-r--r--dev-libs/kqoauth/kqoauth-0.98-r3.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild b/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild
index 4df7af3b220b..e557c8191dfb 100644
--- a/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild
+++ b/dev-libs/kqoauth/kqoauth-0.98-r3.ebuild
@@ -38,10 +38,9 @@ src_prepare() {
# upstream .pc is aimed at Qt4
sed \
- -e "s/-lkqoauth/-lkqoauth-qt5/g" \
+ -e "/^Libs/s/lkqoauth/&-qt5/" \
-e "/^libdir/s/lib$/$(get_libdir)/" \
- -e "s/QtCore/Qt5Core/g" \
- -e "s/QtNetwork/Qt5Network/g" \
+ -e "/^Requires/s/Qt/Qt5/g" \
-i src/pcfile.sh || die
}