From 89eb59a93408ae4f06a78fe076fcff742c3e5e8d Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 17 Oct 2007 14:34:09 +0000 Subject: install formats in TEXMFSYSVAR, otherwise kpathsea will not find them --- eclass/texlive-module.eclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'eclass/texlive-module.eclass') diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 657217d2de1f..e055875f970e 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.1 2007/10/14 07:47:10 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.2 2007/10/17 14:34:09 aballier Exp $ # # Original Author: Alexis Ballier @@ -84,8 +84,11 @@ texlive-module_src_install() { insinto /usr/share [ -d texmf ] && doins -r texmf [ -d texmf-dist ] && doins -r texmf-dist - [ -d texmf-var ] && doins -r texmf-var use doc && [ -d texmf-doc ] && doins -r texmf-doc + + TEXMFSYSVAR="$(kpsewhich -var-value=TEXMFSYSVAR)" + insinto "${TEXMFSYSVAR}" + [ -d texmf-var ] && doins -r texmf-var/* insinto /etc/texmf/updmap.d [ -f "${S}/${PN}.cfg" ] && doins "${S}/${PN}.cfg" -- cgit v1.2.3-65-gdbad