app-editors/emacs: Fix build failure with USE=jit

Closes: https://bugs.gentoo.org/914609
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2023-09-24 20:18:41 +02:00
parent 0b66d2ca8b
commit 4a4ff16db2
3 changed files with 6 additions and 6 deletions

View File

@@ -183,6 +183,8 @@ src_prepare() {
|| die "Upstream version number changed to ${FULL_VERSION}"
fi
default
if use jit; then
find lisp -type f -name "*.elc" -delete || die
@@ -197,8 +199,6 @@ src_prepare() {
| sed -n '/^libraries:/{s:^[^/]*::;p}')
fi
default
# Fix filename reference in redirected man page
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die

View File

@@ -180,6 +180,8 @@ src_prepare() {
|| die "Upstream version number changed to ${FULL_VERSION}"
fi
default
if use jit; then
find lisp -type f -name "*.elc" -delete || die
@@ -194,8 +196,6 @@ src_prepare() {
| sed -n '/^libraries:/{s:^[^/]*::;p}')
fi
default
# Fix filename reference in redirected man page
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die

View File

@@ -181,6 +181,8 @@ src_prepare() {
|| die "Upstream version number changed to ${FULL_VERSION}"
fi
default
if use jit; then
find lisp -type f -name "*.elc" -delete || die
@@ -195,8 +197,6 @@ src_prepare() {
| sed -n '/^libraries:/{s:^[^/]*::;p}')
fi
default
# Fix filename reference in redirected man page
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die