Files
termux-packages/packages/mu/mu4e-dont-bytecompile-meson.patch
termux-pacman-bot 39c2516970 mu: Bump to 1.10.0
* Regression: man pages missing
2023-03-27 19:24:33 +00:00

31 lines
972 B
Diff

# Patch meson to copy mu4e source files even if emacs was not found.
--- ./meson.build.orig 2022-07-06 09:38:17.491018593 +0530
+++ ./meson.build 2022-07-06 09:39:41.161018561 +0530
@@ -196,7 +196,7 @@
message('emacs not found; not generating manpages')
endif
-if emacs.found()
+if true
subdir('mu4e')
else
message('emacs not found; not preparing mu4e support')
--- ./mu4e/meson.build.orig 2022-07-06 09:21:53.456610752 +0530
+++ ./mu4e/meson.build 2022-07-06 09:36:08.601018642 +0530
@@ -73,6 +73,7 @@
install_mode: 'r--r--r--')
endforeach
+if false
foreach src : mu4e_srcs
target_name= '@BASENAME@.elc'
target_path = join_paths(meson.current_build_dir(), target_name)
@@ -100,6 +101,7 @@
'--eval', target_func,
'--funcall', 'batch-byte-compile', '@INPUT@'])
endforeach
+endif
# also install the sources and the config
install_data(mu4e_srcs, install_dir: mu4e_lispdir)