summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2022-04-18 12:56:11 +0800
committerYixun Lan <dlan@gentoo.org>2022-04-18 12:56:11 +0800
commite3bdb3db6d83ff0953c5dd43b19b6f45b2f53a90 (patch)
treef4af4b4bd88d02c45a325d1fbae2b4184b469e60 /app-i18n
parentapp-i18n/ibus: fix build failure without USE=wayland (diff)
downloadgentoo-e3bdb3db6d83ff0953c5dd43b19b6f45b2f53a90.tar.gz
gentoo-e3bdb3db6d83ff0953c5dd43b19b6f45b2f53a90.tar.bz2
gentoo-e3bdb3db6d83ff0953c5dd43b19b6f45b2f53a90.zip
app-i18n/ibus: need die while call external command
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus/ibus-1.5.26.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/app-i18n/ibus/ibus-1.5.26.ebuild b/app-i18n/ibus/ibus-1.5.26.ebuild
index 02ebd8bfa1d0..e8259b0ab2ef 100644
--- a/app-i18n/ibus/ibus-1.5.26.ebuild
+++ b/app-i18n/ibus/ibus-1.5.26.ebuild
@@ -81,16 +81,16 @@ src_prepare() {
vala_src_prepare --ignore-use
sed -i "/UCD_DIR=/s/\$with_emoji_annotation_dir/\$with_ucd_dir/" configure.ac
if ! has_version 'x11-libs/gtk+:3[wayland]'; then
- touch ui/gtk3/panelbinding.vala
- touch ui/gtk3/emojierapp.vala
+ touch ui/gtk3/panelbinding.vala \
+ ui/gtk3/emojierapp.vala || die
fi
if ! use emoji; then
touch \
tools/main.vala \
- ui/gtk3/panel.vala
+ ui/gtk3/panel.vala || dile
fi
if ! use appindicator; then
- touch ui/gtk3/panel.vala
+ touch ui/gtk3/panel.vala || die
fi
if [[ -n ${GENTOO_VER} ]]; then
einfo "Try to apply Gentoo specific patch set"
@@ -98,13 +98,13 @@ src_prepare() {
fi
# for multiple Python implementations
- sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am
+ sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am || die
# fix for parallel install
- sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am
+ sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am || die
# require user interaction
- sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am
+ sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am || die
- sed -i "/^bash_completion/d" tools/Makefile.am
+ sed -i "/^bash_completion/d" tools/Makefile.am || die
default
eautoreconf