82104a1844
Many people have mailed me successful test reports and matthieu tells me he has been running this for some time now. Thanks to those that tested. OK matthieu@
52 lines
2.2 KiB
Plaintext
52 lines
2.2 KiB
Plaintext
$OpenBSD: patch-texmf_web2c_texmfcnf_lua,v 1.2 2012/12/17 20:28:04 edd Exp $
|
|
--- texmf/web2c/texmfcnf.lua.origy Thu May 24 00:07:14 2012
|
|
+++ texmf/web2c/texmfcnf.lua Sat Sep 22 12:14:52 2012
|
|
@@ -3,9 +3,6 @@
|
|
-- ConTeXt needs a properly expanded TEXMFLOCAL, so here is a
|
|
-- bit of lua code to make that happen
|
|
|
|
-local texmflocal = resolvers.prefixes.selfautoparent();
|
|
-texmflocal = string.gsub(texmflocal, "20%d%d$", "texmf-local");
|
|
-
|
|
return {
|
|
|
|
type = "configuration",
|
|
@@ -41,10 +38,14 @@ return {
|
|
-- "selfautoparent:/texmf/web2c",
|
|
-- "selfautoparent:",
|
|
-- }
|
|
+
|
|
+ -- Note that in OpenBSD, where we use the old teTeX path convention
|
|
+ -- selfautodir does not work.
|
|
+ TEXMFROOT = "${TRUEPREFIX}/share",
|
|
|
|
-- only used for FONTCONFIG_PATH & TEXMFCACHE in TeX Live
|
|
|
|
- TEXMFSYSVAR = "selfautoparent:texmf-var",
|
|
+ TEXMFSYSVAR = "$TEXMFROOT/texmf-var",
|
|
TEXMFVAR = "home:.texlive2012/texmf-var",
|
|
|
|
-- We have only one cache path but there can be more. The first writable one
|
|
@@ -61,14 +62,14 @@ return {
|
|
-- By using prefixes we don't get expanded paths in the cache __path__
|
|
-- entry. This makes the tex root relocatable.
|
|
|
|
- TEXMFOS = "selfautodir:",
|
|
- TEXMFMAIN = "selfautoparent:texmf",
|
|
- TEXMFDIST = "selfautoparent:texmf-dist",
|
|
+ TEXMFOS = "$TEXMFROOT",
|
|
+ TEXMFMAIN = "$TEXMFROOT/texmf",
|
|
+ TEXMFDIST = "$TEXMFROOT/texmf-dist",
|
|
|
|
- TEXMFLOCAL = texmflocal,
|
|
- TEXMFSYSCONFIG = "selfautoparent:texmf-config",
|
|
- TEXMFFONTS = "selfautoparent:texmf-fonts",
|
|
- TEXMFPROJECT = "selfautoparent:texmf-project",
|
|
+ TEXMFLOCAL = "$TEXMFROOT/texmf-local",
|
|
+ TEXMFSYSCONFIG = "$TEXMFROOT/texmf-config",
|
|
+ TEXMFFONTS = "$TEXMFROOT/texmf-fonts",
|
|
+ TEXMFPROJECT = "$TEXMFROOT/texmf-project",
|
|
|
|
TEXMFHOME = "home:texmf",
|
|
-- TEXMFHOME = os.name == "macosx" and "home:Library/texmf" or "home:texmf",
|