summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-06-03 20:03:19 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-06-03 20:03:19 +0300
commit1656dd934e84ab9dbc7f23e0bfc5b92ef5b4b5f3 (patch)
tree1c67c588b8381ee989801f302e4c7a80d0b2da6a /dev-tex
parentgentoo/dev-texlive: Add TexLive-2019 (diff)
downloadgentoo-1656dd934e84ab9dbc7f23e0bfc5b92ef5b4b5f3.tar.gz
gentoo-1656dd934e84ab9dbc7f23e0bfc5b92ef5b4b5f3.tar.bz2
gentoo-1656dd934e84ab9dbc7f23e0bfc5b92ef5b4b5f3.zip
dev-tex/xmltex: add tl2019 support
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/xmltex/xmltex-1.9-r2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-tex/xmltex/xmltex-1.9-r2.ebuild b/dev-tex/xmltex/xmltex-1.9-r2.ebuild
index 0f52e2b027dd..6ae39aebfbc3 100644
--- a/dev-tex/xmltex/xmltex-1.9-r2.ebuild
+++ b/dev-tex/xmltex/xmltex-1.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,7 +26,10 @@ RDEPEND="${DEPEND}
!=dev-texlive/texlive-htmlxml-2007*"
src_compile() {
- TEXMFHOME="${S}" fmtutil --cnffile "${FILESDIR}/format.${PN}.cnf" --fmtdir "${S}/texmf-var/web2c" --all\
+ fmt_call="$(has_version '>=app-text/texlive-core-2019' \
+ && echo "fmtutil-user" || echo "fmtutil")"
+
+ TEXMFHOME="${S}" $fmt_call --cnffile "${FILESDIR}/format.${PN}.cnf" --fmtdir "${S}/texmf-var/web2c" --all\
|| die "failed to build format ${PN}"
}