summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-08-17 13:41:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-08-17 13:41:57 +0300
commit38add920bc9f7c89cbf74375893d00884a1a3c6e (patch)
tree28aa6c620e9f0561d6c3f1689d1b7c366a7974ba /gnu/packages/tex.scm
parentab18997f1c78f5b453ab50937b646089bb4588b1 (diff)
downloadguix-38add920bc9f7c89cbf74375893d00884a1a3c6e.tar.gz
gnu: texlive-latex-base: Disable some formats on powerpc-linux.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Adjust custom
'build phase to skip the jit formats also on powerpc-linux.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c00c2ae177..15695496ea 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2742,10 +2742,9 @@ formats.")
                           "platex-dev eptex" "uplatex-dev euptex"
                           "csplain pdftex" "mf mf-nowin" "mex pdftex" "pdfmex pdftex"
                           "luacsplain luatex" "optex luatex"
-                          ;; LuaJIT is not ported to powerpc64le* yet.
-                          ,@(if (string-prefix? "powerpc64le"
-                                                (or (%current-target-system)
-                                                    (%current-system)))
+                          ;; LuaJIT is not ported to powerpc64le* yet and
+                          ;; building these fail on powerpc.
+                          ,@(if (target-powerpc?)
                               '("luajittex" "luajithbtex" "mfluajit") '())
                           "cont-en xetex" "cont-en pdftex" "pdfcsplain xetex"
                           "pdfcsplain pdftex" "pdfcsplain luatex" "cslatex pdftex"