www-apps/zola: add missing || die to sed, add comment about usev

Signed-off-by: zyxhere💭 <zyx@envs.net>
This commit is contained in:
zyxhere💭
2026-06-04 09:00:15 +00:00
parent 97b2a3b278
commit 76dfa98130

View File

@@ -642,7 +642,7 @@ BDEPEND="virtual/pkgconfig"
src_prepare() { src_prepare() {
default default
# Upstream enables stripping on rel and disables debuginfo on dev # Upstream enables stripping on rel and disables debuginfo on dev
sed -i '/strip/d;/debug = 0/d' Cargo.toml sed -i '/strip/d;/debug = 0/d' Cargo.toml || die
# update libwebp-sys in webp crate # update libwebp-sys in webp crate
local libwebp_PV=0.14.2 webp_P=webp-0.3.1 local libwebp_PV=0.14.2 webp_P=webp-0.3.1
@@ -662,6 +662,7 @@ src_configure() {
export RUSTONIG_SYSTEM_LIBONIG=1 export RUSTONIG_SYSTEM_LIBONIG=1
local myfeatures=( local myfeatures=(
# usev only takes 2 args
$(usev cjk indexing-ja ) $(usev cjk indexing-ja )
$(usev cjk indexing-zh ) $(usev cjk indexing-zh )
) )