summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}