gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le.
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 <othacehe@gnu.org>. * gnu/packages/tex.scm (texlive-texmf)[arguments]: Disable LuaJIT engines when building for powerpc64le. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
06e258c3c0
commit
bf53a26a3a
1 changed files with 6 additions and 0 deletions
|
@ -6829,9 +6829,15 @@ directly generate PDF documents instead of DVI.")
|
||||||
(share (string-append out "/share"))
|
(share (string-append out "/share"))
|
||||||
(texmfroot (string-append share "/texmf-dist/web2c"))
|
(texmfroot (string-append share "/texmf-dist/web2c"))
|
||||||
(texmfcnf (string-append texmfroot "/texmf.cnf"))
|
(texmfcnf (string-append texmfroot "/texmf.cnf"))
|
||||||
|
(fmtutilcnf (string-append texmfroot "/fmtutil.cnf"))
|
||||||
(texlive-bin (assoc-ref inputs "texlive-bin"))
|
(texlive-bin (assoc-ref inputs "texlive-bin"))
|
||||||
(texbin (string-append texlive-bin "/bin"))
|
(texbin (string-append texlive-bin "/bin"))
|
||||||
(tlpkg (string-append texlive-bin "/share/tlpkg")))
|
(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.
|
;; Register SHARE as TEXMFROOT in texmf.cnf.
|
||||||
(substitute* texmfcnf
|
(substitute* texmfcnf
|
||||||
(("TEXMFROOT = \\$SELFAUTOPARENT")
|
(("TEXMFROOT = \\$SELFAUTOPARENT")
|
||||||
|
|
Reference in a new issue