From 7cad70566322262f6acdbbb965e867e34010eb55 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 21 Aug 2023 03:18:59 +0300 Subject: [PATCH] gnu: texlivetexmf: Fix building on riscv64-linux. * gnu/packages/texlive.scm (texlivetexmf)[arguments]: Adjust the custom 'texlive-texmf phase to skip targets dependant on luajit when building for riscv64-linux. --- gnu/packages/texlive.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/texlive.scm b/gnu/packages/texlive.scm index 0204a256ef..1a50eb454f 100644 --- a/gnu/packages/texlive.scm +++ b/gnu/packages/texlive.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014 Eric Bavier ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2016 Roel Janssen -;;; Copyright © 2016, 2018, 2019, 2020, 2021 Efraim Flashner +;;; Copyright © 2016, 2018-2021, 2023 Efraim Flashner ;;; Copyright © 2016 Federico Beffa ;;; Copyright © 2016 Thomas Danckaert ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus @@ -313,8 +313,9 @@ This package contains the binaries.") (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?) + ;; LuaJIT is not ported to some systems yet. + (if ,(or (target-ppc64le?) + (target-riscv64?)) (substitute* fmtutilcnf (("^(luajittex|luajithbtex|mfluajit)" m) (string-append "#! " m))))