Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx/
Date: Wed, 27 Sep 2017 19:57:43
Message-Id: 1506542222.157bcac4f4584c263f97959853fe486f3c14f681.floppym@gentoo
1 commit: 157bcac4f4584c263f97959853fe486f3c14f681
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Wed Sep 27 14:33:44 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 27 19:57:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157bcac4
7
8 app-i18n/fcitx: Update sed command.
9
10 app-i18n/fcitx/fcitx-4.9999.ebuild | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13 diff --git a/app-i18n/fcitx/fcitx-4.9999.ebuild b/app-i18n/fcitx/fcitx-4.9999.ebuild
14 index 54b3183f34c..e70c390cd80 100644
15 --- a/app-i18n/fcitx/fcitx-4.9999.ebuild
16 +++ b/app-i18n/fcitx/fcitx-4.9999.ebuild
17 @@ -85,7 +85,8 @@ src_prepare() {
18 sed \
19 -e "/find_package(XkbFile REQUIRED)/i\\ if(ENABLE_X11)" \
20 -e "/find_package(XkbFile REQUIRED)/s/^/ /" \
21 - -e "/find_package(XkbFile REQUIRED)/a\\ endif(ENABLE_X11)" \
22 + -e "/find_package(XkbFile REQUIRED)/a\\ find_package(XKeyboardConfig REQUIRED)\n endif(ENABLE_X11)" \
23 + -e "/^find_package(XKeyboardConfig REQUIRED)/,+1d" \
24 -i CMakeLists.txt
25
26 cmake-utils_src_prepare