summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2015-04-14 23:38:14 +0200
committerAvatar Gerrit Code Review <tomcat@galileo.mailstation.de> 2015-04-16 19:33:19 +0200
commit412e348826e07b2fa4c5d2bb020c559b02b00d6e (patch)
treec0f7dada8a7bc399dcf9f5fe5381dfd2c8e80a8b
parent24ddaabbc07c8cd959dd6ba9a092c061e6473df1 (diff)
downloadtexlive-412e348826e07b2fa4c5d2bb020c559b02b00d6e.tar.gz
texlive-412e348826e07b2fa4c5d2bb020c559b02b00d6e.tar.xz
kpathsea: fix TEXMFSYS{VAR,CONFIG}
-rw-r--r--packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r3.exheres-0 (renamed from packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r2.exheres-0)6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r2.exheres-0 b/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r3.exheres-0
index f04ac36..43dcfd6 100644
--- a/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r2.exheres-0
+++ b/packages/dev-libs/kpathsea/kpathsea-6.2.0_p20140523-r3.exheres-0
@@ -43,8 +43,12 @@ src_install() {
keepdir /var/cache/fonts/
edo chmod 1777 "${IMAGE}"/var/cache/fonts
- # SELFAUTODIR doesn't give the right value for multiarch
+ # SELFAUTODIR doesn't give the right value for multiarch in
+ # the case of TEXMFROOT
+ # For TEXMFSYSVAR and TEXMFSYSCONFIG we strip the SELFAUTOPARENT
+ # since it would result in /usr/{var,etc}/...
edo sed -e "/TEXMFROOT/s:\$SELFAUTODIR:\$SELFAUTOPARENT:" \
+ -e '/^TEXMFSYS/s:\$SELFAUTOPARENT::' \
-i "${WORKBASE}"/texmf.d/05searchpaths.cnf
keepdir /etc/texmf/{fmtutil.d,texmf.d}