Skip to content

Commit

Permalink
app-i18n/fcitx: Update sed command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Sep 27, 2017
1 parent a8be055 commit 157bcac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app-i18n/fcitx/fcitx-4.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 157bcac

Please sign in to comment.