commit:     0db636888f18fa9a5c5e68bb03a736330d2d58d2
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  3 17:06:02 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Jun  3 17:06:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db63688

app-text/jadetex: Add tl2019 support

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 app-text/jadetex/jadetex-3.13-r7.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-text/jadetex/jadetex-3.13-r7.ebuild 
b/app-text/jadetex/jadetex-3.13-r7.ebuild
index 3a80cfceed7..14d37d8b41f 100644
--- a/app-text/jadetex/jadetex-3.13-r7.ebuild
+++ b/app-text/jadetex/jadetex-3.13-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -20,9 +20,11 @@ DEPEND=">=app-text/openjade-1.3.1
        dev-texlive/texlive-plaingeneric"
 
 src_compile() {
+       fmt_call="$(has_version '>=app-text/texlive-core-2019' \
+         && echo "fmtutil-user" || echo "fmtutil")"
        VARTEXFONTS="${T}/fonts" emake
        VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}" env -u TEXINPUTS \
-               fmtutil --cnffile "${FILESDIR}/format.jadetex.cnf" --fmtdir 
"${S}/texmf-var/web2c" --all\
+               $fmt_call --cnffile "${FILESDIR}/format.jadetex.cnf" --fmtdir 
"${S}/texmf-var/web2c" --all\
                                || die "failed to build format"
 }
 

Reply via email to