1 |
commit: 1656dd934e84ab9dbc7f23e0bfc5b92ef5b4b5f3 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 3 17:03:19 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 3 17:03:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1656dd93 |
7 |
|
8 |
dev-tex/xmltex: add tl2019 support |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
dev-tex/xmltex/xmltex-1.9-r2.ebuild | 7 +++++-- |
14 |
1 file changed, 5 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-tex/xmltex/xmltex-1.9-r2.ebuild b/dev-tex/xmltex/xmltex-1.9-r2.ebuild |
17 |
index 0f52e2b027d..6ae39aebfbc 100644 |
18 |
--- a/dev-tex/xmltex/xmltex-1.9-r2.ebuild |
19 |
+++ b/dev-tex/xmltex/xmltex-1.9-r2.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=5 |
26 |
@@ -26,7 +26,10 @@ RDEPEND="${DEPEND} |
27 |
!=dev-texlive/texlive-htmlxml-2007*" |
28 |
|
29 |
src_compile() { |
30 |
- TEXMFHOME="${S}" fmtutil --cnffile "${FILESDIR}/format.${PN}.cnf" --fmtdir "${S}/texmf-var/web2c" --all\ |
31 |
+ fmt_call="$(has_version '>=app-text/texlive-core-2019' \ |
32 |
+ && echo "fmtutil-user" || echo "fmtutil")" |
33 |
+ |
34 |
+ TEXMFHOME="${S}" $fmt_call --cnffile "${FILESDIR}/format.${PN}.cnf" --fmtdir "${S}/texmf-var/web2c" --all\ |
35 |
|| die "failed to build format ${PN}" |
36 |
} |