1 |
commit: 0db636888f18fa9a5c5e68bb03a736330d2d58d2 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 3 17:06:02 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 3 17:06:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db63688 |
7 |
|
8 |
app-text/jadetex: 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 |
app-text/jadetex/jadetex-3.13-r7.ebuild | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/app-text/jadetex/jadetex-3.13-r7.ebuild b/app-text/jadetex/jadetex-3.13-r7.ebuild |
17 |
index 3a80cfceed7..14d37d8b41f 100644 |
18 |
--- a/app-text/jadetex/jadetex-3.13-r7.ebuild |
19 |
+++ b/app-text/jadetex/jadetex-3.13-r7.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2018 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 |
@@ -20,9 +20,11 @@ DEPEND=">=app-text/openjade-1.3.1 |
27 |
dev-texlive/texlive-plaingeneric" |
28 |
|
29 |
src_compile() { |
30 |
+ fmt_call="$(has_version '>=app-text/texlive-core-2019' \ |
31 |
+ && echo "fmtutil-user" || echo "fmtutil")" |
32 |
VARTEXFONTS="${T}/fonts" emake |
33 |
VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}" env -u TEXINPUTS \ |
34 |
- fmtutil --cnffile "${FILESDIR}/format.jadetex.cnf" --fmtdir "${S}/texmf-var/web2c" --all\ |
35 |
+ $fmt_call --cnffile "${FILESDIR}/format.jadetex.cnf" --fmtdir "${S}/texmf-var/web2c" --all\ |
36 |
|| die "failed to build format" |
37 |
} |