Archived
1
0
Fork 0

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:
Thiago Jung Bauermann 2021-08-19 21:47:15 -03:00 committed by Efraim Flashner
parent 06e258c3c0
commit bf53a26a3a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")