commit: ff4c1ce28854c754a92320e2df253042a50d9eae Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Jun 7 20:57:29 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Jun 7 20:59:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4c1ce2
dev-libs/kqoauth: Improve sed Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/kqoauth/kqoauth-0.98-r3.ebuild | 5 ++--- 1 file 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 4df7af3b220..e557c8191df 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 }