summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ross <joslwah@gentoo.org>2006-10-28 15:46:38 +0000
committerJoshua Ross <joslwah@gentoo.org>2006-10-28 15:46:38 +0000
commit27fb7a5dc9a685d5c6dbed99e5ad222509685288 (patch)
treeed79e2fd85439030e11b04cc76cd7a4afae7360f /app-text/xetex
parentppc stable, bug #152758 (diff)
downloadgentoo-2-27fb7a5dc9a685d5c6dbed99e5ad222509685288.tar.gz
gentoo-2-27fb7a5dc9a685d5c6dbed99e5ad222509685288.tar.bz2
gentoo-2-27fb7a5dc9a685d5c6dbed99e5ad222509685288.zip
Update the patch for rebuilding the TeX links. Now can have fmtutil.cnf in /var as well as /usr.
(Portage version: 2.1.2_rc1)
Diffstat (limited to 'app-text/xetex')
-rw-r--r--app-text/xetex/files/xetex-0.995-rebuild.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-text/xetex/files/xetex-0.995-rebuild.patch b/app-text/xetex/files/xetex-0.995-rebuild.patch
index bc428ef216fa..797698089cd1 100644
--- a/app-text/xetex/files/xetex-0.995-rebuild.patch
+++ b/app-text/xetex/files/xetex-0.995-rebuild.patch
@@ -36,10 +36,10 @@
# enable our entries if necessary (in case of pre-existing disabled ones)
- ${fmtutil} --enablefmt ${f}
- ${fmtutil} --byfmt ${f}
-+ TEXMFLOCAL=${D}usr/share/texmf ./fmtutil --fmtdir ${D}usr/share/texmf/web2c --cnffile ${D}${fmtutil_cnf} --enablefmt ${f}
-+ TEXMFLOCAL=${D}usr/share/texmf ./fmtutil --fmtdir ${D}usr/share/texmf/web2c --cnffile ${D}${fmtutil_cnf} --byfmt ${f}
++ TEXMFLOCAL=${D}usr/share/texmf ./fmtutil --fmtdir `dirname ${D}${fmtutil_cnf}` --cnffile ${D}${fmtutil_cnf} --enablefmt ${f}
++ TEXMFLOCAL=${D}usr/share/texmf ./fmtutil --fmtdir `dirname ${D}${fmtutil_cnf}` --cnffile ${D}${fmtutil_cnf} --byfmt ${f}
done
# create symlinks for the newly-built formats
-texlinks --silent
-+texlinks --silent --cnffile ${D}${fmtutil_cnf} ${D}usr/share/texmf/web2c
++texlinks --silent --cnffile ${D}${fmtutil_cnf} `dirname ${D}${fmtutil_cnf}`