summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2015-04-08 17:08:08 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2015-04-08 18:08:08 +0200
commit0ed721b175f42e960de885826ca0724a58f064f8 (patch)
tree5b74f47882696ae3f1aee9452709c1f6f423632c
parentbecafd062ed1f14562e7441a259d34283481f2e3 (diff)
downloadtexlive-0ed721b175f42e960de885826ca0724a58f064f8.tar.gz
texlive-0ed721b175f42e960de885826ca0724a58f064f8.tar.xz
kpathsea: Make TEXMFROOT work on multiarch
-rw-r--r--packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r2.exheres-0 (renamed from packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r1.exheres-0)4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r1.exheres-0 b/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r2.exheres-0
index c04c0fb..f04ac36 100644
--- a/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r1.exheres-0
+++ b/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r2.exheres-0
@@ -43,6 +43,10 @@ src_install() {
keepdir /var/cache/fonts/
edo chmod 1777 "${IMAGE}"/var/cache/fonts
+ # SELFAUTODIR doesn't give the right value for multiarch
+ edo sed -e "/TEXMFROOT/s:\$SELFAUTODIR:\$SELFAUTOPARENT:" \
+ -i "${WORKBASE}"/texmf.d/05searchpaths.cnf
+
keepdir /etc/texmf/{fmtutil.d,texmf.d}
insinto /etc/texmf/texmf.d/
doins "${WORKBASE}"/texmf.d/*.cnf