1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
$NetBSD: patch-texmf-dist_web2c_texmfcnf.lua,v 1.6 2021/06/06 01:23:13 markd Exp $
Set paths to texmf trees for pkgsrc.
--- texmf-dist/web2c/texmfcnf.lua.orig 2018-03-03 18:29:03.000000000 +0000
+++ texmf-dist/web2c/texmfcnf.lua
@@ -42,9 +42,11 @@ return {
-- "selfautoparent:",
-- }
+ TEXMFCNF = "@PKG_SYSCONFDIR@",
+
-- only used for FONTCONFIG_PATH & TEXMFCACHE in TeX Live
- TEXMFSYSVAR = "selfautoparent:texmf-var",
+ TEXMFSYSVAR = "@VARBASE@/lib/texmf",
TEXMFVAR = "home:.texlive2021/texmf-var",
-- We have only one cache path but there can be more. The first writable one
@@ -62,10 +64,10 @@ return {
-- entry. This makes the tex root relocatable.
TEXMFOS = "selfautodir:",
- TEXMFDIST = "selfautoparent:texmf-dist",
+ TEXMFDIST = "selfautodir:share/texmf-dist",
- TEXMFLOCAL = texmflocal,
- TEXMFSYSCONFIG = "selfautoparent:texmf-config",
+ TEXMFLOCAL = "selfautodir:share/texmf-local",
+ TEXMFSYSCONFIG = "@PKG_SYSCONFDIR@",
TEXMFFONTS = "selfautoparent:texmf-fonts",
TEXMFPROJECT = "selfautoparent:texmf-project",
@@ -75,7 +77,7 @@ return {
-- We need texmfos for a few rare files but as I have a few more bin trees
-- a hack is needed. Maybe other users also have texmf-platform-new trees.
- TEXMF = "{$TEXMFCONFIG,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFDIST}",
+ TEXMF = "{$TEXMFCONFIG,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFDIST}",
TEXFONTMAPS = ".;$TEXMF/fonts/data//;$TEXMF/fonts/map/{pdftex,dvips}//",
ENCFONTS = ".;$TEXMF/fonts/data//;$TEXMF/fonts/enc/{dvips,pdftex}//",
@@ -101,7 +103,7 @@ return {
PYTHONINPUTS = ".;$TEXMF/scripts/context/python",
RUBYINPUTS = ".;$TEXMF/scripts/context/ruby",
LUAINPUTS = ".;$TEXINPUTS;$TEXMF/scripts/context/lua//",
- CLUAINPUTS = ".;$SELFAUTOLOC/lib/{context,luatex,}/lua//",
+ CLUAINPUTS = ".;selfautodir:lib/{context,luatex,}/lua//",
-- Not really used by MkIV so they might go away.
|