summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-27 16:33:44 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-27 15:57:02 -0400
commit157bcac4f4584c263f97959853fe486f3c14f681 (patch)
tree6c8b92d23be85a279343dabc8dd4b5641fe3592c /app-i18n
parentapp-i18n/kcm-fcitx: Use ${Fcitx_major_version}.${KDE_Plasma_major_version}.99... (diff)
downloadgentoo-157bcac4f4584c263f97959853fe486f3c14f681.tar.gz
gentoo-157bcac4f4584c263f97959853fe486f3c14f681.tar.bz2
gentoo-157bcac4f4584c263f97959853fe486f3c14f681.zip
app-i18n/fcitx: Update sed command.
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/fcitx/fcitx-4.9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-i18n/fcitx/fcitx-4.9999.ebuild b/app-i18n/fcitx/fcitx-4.9999.ebuild
index 54b3183f34c0..e70c390cd80c 100644
--- a/app-i18n/fcitx/fcitx-4.9999.ebuild
+++ b/app-i18n/fcitx/fcitx-4.9999.ebuild
@@ -85,7 +85,8 @@ src_prepare() {
sed \
-e "/find_package(XkbFile REQUIRED)/i\\ if(ENABLE_X11)" \
-e "/find_package(XkbFile REQUIRED)/s/^/ /" \
- -e "/find_package(XkbFile REQUIRED)/a\\ endif(ENABLE_X11)" \
+ -e "/find_package(XkbFile REQUIRED)/a\\ find_package(XKeyboardConfig REQUIRED)\n endif(ENABLE_X11)" \
+ -e "/^find_package(XKeyboardConfig REQUIRED)/,+1d" \
-i CMakeLists.txt
cmake-utils_src_prepare