2010-11-17 20:27:05 +01:00
|
|
|
$NetBSD: patch-aa,v 1.7 2010/11/17 19:27:05 minskim Exp $
|
2009-01-03 23:12:42 +01:00
|
|
|
|
2009-02-08 21:00:03 +01:00
|
|
|
- Set paths to texmf trees for pkgsrc.
|
2010-11-17 20:27:05 +01:00
|
|
|
- Sync with kpathsea r19875.
|
2009-01-03 23:12:42 +01:00
|
|
|
|
2010-09-13 06:06:12 +02:00
|
|
|
--- texmf.cnf.orig 2010-05-30 21:52:39.000000000 +0000
|
2009-01-03 23:12:42 +01:00
|
|
|
+++ texmf.cnf
|
2009-06-09 23:29:17 +02:00
|
|
|
@@ -53,15 +53,15 @@
|
2009-01-03 23:12:42 +01:00
|
|
|
|
|
|
|
% The tree containing the runtime files closely related to the specific
|
|
|
|
% program version used:
|
|
|
|
-TEXMFMAIN = $SELFAUTOPARENT/texmf
|
2009-06-09 23:29:17 +02:00
|
|
|
+TEXMFMAIN = @PREFIX@/share/texmf
|
2009-01-03 23:12:42 +01:00
|
|
|
|
|
|
|
% The main distribution tree:
|
|
|
|
-TEXMFDIST = $SELFAUTOPARENT/texmf-dist
|
2009-06-09 23:29:17 +02:00
|
|
|
+TEXMFDIST = @PREFIX@/share/texmf-dist
|
2009-01-03 23:12:42 +01:00
|
|
|
|
|
|
|
% A place for local additions to a "standard" texmf tree.
|
|
|
|
% This tree is not used for local configuration maintained by
|
|
|
|
% texconfig, it uses TEXMFCONFIG below.
|
|
|
|
-TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local
|
|
|
|
+TEXMFLOCAL = @TEXMFLOCAL@
|
|
|
|
|
|
|
|
% TEXMFSYSVAR, where texconfig-sys stores variable runtime data.
|
|
|
|
% With teTeX-3.0 or later, this must be set.
|
2009-06-09 23:29:17 +02:00
|
|
|
@@ -69,7 +69,7 @@ TEXMFLOCAL = $SELFAUTOPARENT/../texmf-lo
|
2009-01-03 23:12:42 +01:00
|
|
|
% TEXMFSYSVAR = $TEXMFMAIN
|
|
|
|
% For using a separate tree:
|
|
|
|
% TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
|
|
|
|
-TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
|
|
|
|
+TEXMFSYSVAR = @VARBASE@/lib/texmf
|
|
|
|
|
|
|
|
% TEXMFSYSCONFIG, where texconfig-sys stores configuration data.
|
|
|
|
% With teTeX-3.0 or later, this must be set.
|
2009-06-09 23:29:17 +02:00
|
|
|
@@ -77,7 +77,7 @@ TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
|
2009-01-03 23:12:42 +01:00
|
|
|
% TEXMFSYSCONFIG = $TEXMFMAIN
|
|
|
|
% For using a separate tree:
|
|
|
|
% TEXMFSYSCONFIG = $SELFAUTOPARENT/texmf-config
|
|
|
|
-TEXMFSYSCONFIG = $SELFAUTOPARENT/texmf-config
|
|
|
|
+TEXMFSYSCONFIG = @PKG_SYSCONFDIR@
|
|
|
|
|
|
|
|
% User texmf trees are allowed as follows.
|
|
|
|
% This used to be HOMETEXMF.
|
2010-09-13 06:06:12 +02:00
|
|
|
@@ -136,7 +136,7 @@ SYSTEXMF = $TEXMFSYSVAR;$TEXMFMAIN;$TEXM
|
2009-01-29 20:38:42 +01:00
|
|
|
% Where generated fonts may be written. This tree is used when the sources
|
|
|
|
% were found in a system tree and either that tree wasn't writable, or the
|
|
|
|
% varfonts feature was enabled in MT_FEATURES in mktex.cnf.
|
|
|
|
-VARTEXFONTS = $TEXMFVAR/fonts
|
|
|
|
+VARTEXFONTS = $TEXMFSYSVAR/fonts
|
|
|
|
|
2010-09-13 06:06:12 +02:00
|
|
|
% On some systems, there will be a system tree which contains all the font
|
|
|
|
% files that may be created as well as the formats. For example
|
2010-11-17 20:27:05 +01:00
|
|
|
@@ -345,10 +345,10 @@ T1FONTS = .;$TEXMF/fonts/type1//;$OSFONT
|
|
|
|
AFMFONTS = .;$TEXMF/fonts/afm//;$OSFONTDIR//
|
|
|
|
|
|
|
|
% TrueType outline fonts.
|
|
|
|
-TTFONTS = .;$TEXMF/fonts/truetype//;$OSFONTDIR//
|
|
|
|
+TTFONTS = .;$TEXMF/fonts/{truetype,opentype}//;$OSFONTDIR//
|
|
|
|
|
|
|
|
% Opentype outline fonts.
|
|
|
|
-OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;$OSFONTDIR//
|
|
|
|
+OPENTYPEFONTS = .;$TEXMF/fonts/{opentype,truetype}//;$OSFONTDIR//
|
|
|
|
|
|
|
|
% Type 42 outline fonts.
|
|
|
|
T42FONTS = .;$TEXMF/fonts/type42//
|
2010-09-13 06:06:12 +02:00
|
|
|
@@ -463,7 +463,7 @@ RUBYINPUTS = .;$TEXMF/scripts/{$progna
|
2009-01-03 23:12:42 +01:00
|
|
|
%
|
|
|
|
% For security reasons, it is better not to include . in this path.
|
|
|
|
%
|
|
|
|
-TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}
|
|
|
|
+TEXMFCNF = @PKG_SYSCONFDIR@
|
|
|
|
|
2010-09-13 06:06:12 +02:00
|
|
|
% kpathsea 3.5.3 and later sets these at runtime. To avoid empty
|
|
|
|
% expansions from binaries linked against an earlier version of the
|