summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-27 17:33:43 +0000
committerKarl Berry <karl@freefriends.org>2024-02-27 17:33:43 +0000
commit886ad34c7fec761fdfd55ac1af6603e201194a6c (patch)
treebbc048a6628566b602a94e49ebc524eb2e86fa6c /Master/tlpkg
parent31b72b1cf24adf9e1756ecce45c0a52c84800517 (diff)
platforms without luametatex
git-svn-id: svn://tug.org/texlive/trunk@70195 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc8
-rw-r--r--Master/tlpkg/tlpsrc/context-texlive.tlpsrc9
-rw-r--r--Master/tlpkg/tlpsrc/context.tlpsrc14
3 files changed, 11 insertions, 20 deletions
diff --git a/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc b/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
index 0192bace945..896f0811983 100644
--- a/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
+++ b/Master/tlpkg/tlpsrc/00texlive.autopatterns.tlpsrc
@@ -47,11 +47,9 @@ cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,unicode-data
# Platforms that don't support jit.
tlpsetvar global_no_luajit_platforms i386-solaris,x86_64-solaris
#
-# We define the Windows platform names here, so we can use ${wndws} in
-# the patterns, in preparation for supporting w64 in addition to w32,
-# and perhaps others in the future. The name ${global_wndws} was just
-# too long, so there is a super-special case in the code.
-#tlpsetvar wndws windows
+# Platforms that don't have a luametatex binary.
+tlpsetvar global_no_lmtx_platforms \
+ armhf-linux,amd64-netbsd,i386-netbsd,x86_64-solaris,i386-solaris
# It would be ideal to be able to specify the non-jit platforms here,
# but it's not crucial, so we haven't implemented ${global_} expansion
diff --git a/Master/tlpkg/tlpsrc/context-texlive.tlpsrc b/Master/tlpkg/tlpsrc/context-texlive.tlpsrc
index 5e969e3e8ef..2ad7c9984dd 100644
--- a/Master/tlpkg/tlpsrc/context-texlive.tlpsrc
+++ b/Master/tlpkg/tlpsrc/context-texlive.tlpsrc
@@ -4,12 +4,9 @@ runpattern d texmf-dist/tex/context/texlive
# These point to stubs, which were handwritten by us, hence include both
# the stubs (under the dir above) and the executable links here.
-# It seems harmless to include these even when luametatex itself
-# isn't available for a given platform; they won't do anything, but it
-# saves us having to list the same platform omissions as in context.tlpsrc.
-binpattern f bin/${ARCH}/contextjit
-binpattern f bin/${ARCH}/luatools
-binpattern f bin/${ARCH}/mtxrunjit
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/contextjit
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/luatools
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/mtxrunjit
# We have these man pages as .so links to the scripts.
docpattern +f texmf-dist/doc/man/man1/luatools.*
diff --git a/Master/tlpkg/tlpsrc/context.tlpsrc b/Master/tlpkg/tlpsrc/context.tlpsrc
index c21aa8f39bf..621c3bc96c6 100644
--- a/Master/tlpkg/tlpsrc/context.tlpsrc
+++ b/Master/tlpkg/tlpsrc/context.tlpsrc
@@ -87,12 +87,8 @@ docpattern +f texmf-dist/doc/man/man1/mtxrun.*
# excluding some TL adaptations kept in package context-texlive.
runpattern !d texmf-dist/tex/context/texlive
#
-# And not all platforms have an lmtx binary.
-tlpsetvar no_lmtx_platforms \
- armhf-linux,amd64-netbsd,i386-netbsd,x86_64-solaris,i386-solaris
-#
-binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context
-binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context.lua
-binpattern f/!${no_lmtx_platforms} bin/${ARCH}/luametatex
-binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun
-binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun.lua
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/context
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/context.lua
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/luametatex
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/mtxrun
+binpattern f/!${global_no_lmtx_platforms} bin/${ARCH}/mtxrun.lua