2020-05-01 23:37:22 +02:00
|
|
|
These paths, or at least some of them, are compiled into kpsewhich so we
|
|
|
|
need to fix them.
|
|
|
|
--- ./texk/kpathsea/texmf.cnf.orig 2020-03-21 22:04:56.000000000 +0000
|
|
|
|
+++ ./texk/kpathsea/texmf.cnf 2020-04-30 07:50:35.805542154 +0000
|
|
|
|
@@ -59,7 +59,7 @@
|
2018-05-01 04:07:38 +02:00
|
|
|
% SELFAUTOPARENT (its grandparent = /usr/local/texlive/YYYY), and
|
|
|
|
% SELFAUTOGRANDPARENT (its great-grandparent = /usr/local/texlive).
|
|
|
|
% Sorry for the off-by-one-generation names.
|
2017-11-09 00:11:41 +01:00
|
|
|
-TEXMFROOT = $SELFAUTOPARENT
|
2020-05-01 23:37:22 +02:00
|
|
|
+TEXMFROOT = @TERMUX_PREFIX@/share/texlive
|
2017-11-09 00:11:41 +01:00
|
|
|
|
|
|
|
% The main tree of distributed packages and programs:
|
|
|
|
TEXMFDIST = $TEXMFROOT/texmf-dist
|
2020-05-01 23:37:22 +02:00
|
|
|
@@ -382,7 +382,7 @@
|
|
|
|
% OSFONTDIR is to provide a convenient hook for allowing TeX to find
|
|
|
|
% fonts installed on the system (outside of TeX). An empty default
|
|
|
|
% value would add "//" to the search paths, so we give it a dummy value.
|
|
|
|
-OSFONTDIR = /please/set/osfontdir/in/the/environment
|
|
|
|
+OSFONTDIR = @TERMUX_PREFIX@/share/fonts/TTF
|
2017-11-09 00:11:41 +01:00
|
|
|
|
2020-05-01 23:37:22 +02:00
|
|
|
% PostScript Type 1 outline fonts.
|
|
|
|
T1FONTS = $TEXMFDOTDIR;$TEXMF/fonts/type1//;$OSFONTDIR//
|
|
|
|
@@ -431,7 +431,7 @@
|
|
|
|
PDFTEXCONFIG = $TEXMFDOTDIR;$TEXMF/pdftex/{$progname,}//
|
2017-11-09 00:11:41 +01:00
|
|
|
|
2020-05-01 23:37:22 +02:00
|
|
|
% Used by DMP (ditroff-to-mpx), called by makempx -troff.
|
|
|
|
-TRFONTS = /usr{/local,}/share/groff/{current/font,site-font}/devps
|
|
|
|
+TRFONTS = @TERMUX_PREFIX@{/local,}/share/groff/{current/font,site-font}/devps
|
|
|
|
MPSUPPORT = $TEXMFDOTDIR;$TEXMF/metapost/support
|
|
|
|
|
|
|
|
% For xdvi to find mime.types and .mailcap, if they do not exist in
|
|
|
|
@@ -582,7 +582,8 @@
|
|
|
|
$SELFAUTOPARENT/share/texmf/web2c,\
|
|
|
|
$SELFAUTOPARENT/texmf-local/web2c,\
|
|
|
|
$SELFAUTOPARENT/texmf-dist/web2c,\
|
|
|
|
-$SELFAUTOPARENT/texmf/web2c\
|
|
|
|
+$SELFAUTOPARENT/texmf/web2c,\
|
|
|
|
+@TERMUX_PREFIX@/share/texlive/texmf-dist/web2c\
|
|
|
|
}
|
|
|
|
%
|
|
|
|
% For reference, here is the old brace-using definition:
|