summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-06-26 19:22:27 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-06-26 19:22:27 +0000
commitb1a70f2463cadbb08e1683f58720ad780bf873eb (patch)
tree855504d0c0a5af35a2aff847cae8f4be16d49fa1 /eclass/texlive-module.eclass
parentversion bump and avoid collision with media-video/mjpegtools (diff)
downloadhistorical-b1a70f2463cadbb08e1683f58720ad780bf873eb.tar.gz
historical-b1a70f2463cadbb08e1683f58720ad780bf873eb.tar.bz2
historical-b1a70f2463cadbb08e1683f58720ad780bf873eb.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/texlive-module.eclass')
-rw-r--r--eclass/texlive-module.eclass4
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}"