From bf53a26a3a32c2ac9f7bbf7e663aa6fff04421ab Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Thu, 19 Aug 2021 21:47:15 -0300 Subject: gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LuaJIT isn’t ported to 64-bit PowerPC. ‘texlive-bin’ and ‘texlive-latex-base’ already disable the engines that rely on it, so just do the same in texlive-texmf. Fix suggested by Mathieu Othacehe . * gnu/packages/tex.scm (texlive-texmf)[arguments]: Disable LuaJIT engines when building for powerpc64le. Signed-off-by: Efraim Flashner --- gnu/packages/tex.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 4500f19292..43901a375e 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6829,9 +6829,15 @@ directly generate PDF documents instead of DVI.") (share (string-append out "/share")) (texmfroot (string-append share "/texmf-dist/web2c")) (texmfcnf (string-append texmfroot "/texmf.cnf")) + (fmtutilcnf (string-append texmfroot "/fmtutil.cnf")) (texlive-bin (assoc-ref inputs "texlive-bin")) (texbin (string-append texlive-bin "/bin")) (tlpkg (string-append texlive-bin "/share/tlpkg"))) + ;; LuaJIT is not ported to powerpc64* yet. + (if ,(target-ppc64le?) + (substitute* fmtutilcnf + (("^(luajittex|luajithbtex|mfluajit)" m) + (string-append "#! " m)))) ;; Register SHARE as TEXMFROOT in texmf.cnf. (substitute* texmfcnf (("TEXMFROOT = \\$SELFAUTOPARENT") -- cgit 1.4.1