Skip to content

Commit

Permalink
ecm.eclass: Improve _ecm_punt_kdoctools_install(), ecm_punt_po_install()
Browse files Browse the repository at this point in the history
Allow for whitespace padding within kdoctools_install and ki18n_install.
Odd that this hasn't come up before.

Closes: https://bugs.gentoo.org/950317
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Feb 26, 2025
1 parent f1bcb9a commit 7651b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/ecm.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ ecm_punt_bogus_dep() {
# @DESCRIPTION:
# Disables kdoctools_install(po) call.
_ecm_punt_kdoctools_install() {
sed -e "s/^ *kdoctools_install.*(po.*)/#& # disabled by ecm.eclass/" \
sed -e "s/^ *kdoctools_install.*(\s*po.*)/#& # disabled by ecm.eclass/" \
-i CMakeLists.txt || die
}

Expand All @@ -487,7 +487,7 @@ _ecm_punt_kdoctools_install() {
# is outsourcing common files to a ${PN}-common split package.
ecm_punt_po_install() {
_ecm_punt_kdoctools_install
sed -e "s/^ *ki18n_install.*(po.*)/#& # disabled by ecm.eclass/" \
sed -e "s/^ *ki18n_install.*(\s*po.*)/#& # disabled by ecm.eclass/" \
-i CMakeLists.txt || die
}

Expand Down

0 comments on commit 7651b6e

Please sign in to comment.