diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-06-26 19:22:27 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-06-26 19:22:27 +0000 |
commit | 58026a0710fead08fb869d915811b9301691d044 (patch) | |
tree | 12b80fde77adbe1e89173314614e883d694c92b7 /eclass | |
parent | version bump and avoid collision with media-video/mjpegtools (diff) | |
download | gentoo-2-58026a0710fead08fb869d915811b9301691d044.tar.gz gentoo-2-58026a0710fead08fb869d915811b9301691d044.tar.bz2 gentoo-2-58026a0710fead08fb869d915811b9301691d044.zip |
create texmf-var/web2c before trying to build the formats if it does not exist. this is required by texlive 2013
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 2fbc0f4558fc..6ea257906220 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.63 2012/07/26 16:40:47 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.64 2013/06/26 19:22:27 aballier Exp $ # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -282,6 +282,8 @@ texlive-module_src_compile() { for i in texmf/fmtutil/format*.cnf; do if [ -f "${i}" ]; then einfo "Building format ${i}" + [ -d texmf-var ] || mkdir texmf-var + [ -d texmf-var/web2c ] || mkdir texmf-var/web2c VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var"\ env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all\ || die "failed to build format ${i}" |