From 423c956927c30b66e85f295dc42abb67b89f3d63 Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Sun, 8 Sep 2024 18:07:00 +0200 Subject: [PATCH] print/texlive-texmf: Fix document compilation Texlive/Latex package xfrac causes document compilation to fail PR: 279711 Reported by: zdeinji6w@mozmail.com Approved by: tex --- print/texlive-texmf/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/print/texlive-texmf/Makefile b/print/texlive-texmf/Makefile index 7a2a3c44c9b1..96eaf9525894 100644 --- a/print/texlive-texmf/Makefile +++ b/print/texlive-texmf/Makefile @@ -1,5 +1,6 @@ PORTNAME= texlive DISTVERSION= ${TEXLIVE_VERSION} +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= LOCAL/tex PKGNAMESUFFIX= -texmf @@ -32,6 +33,9 @@ do-install: ${STAGEDIR}${PREFIX}/share/texmf-dist/tex/latex/prettytok/prettytok-decode-8bit.py ${REINPLACE_CMD} -i '' -e '1s|/usr/bin/perl|${perl_CMD}|' \ ${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/eolang/eolang.pl + # https://ctan.org/ctan-ann/id/mailman.9290.1717583628.3764.ctan-ann@ctan.org + ${REINPLACE_CMD} -e 's|IfInstanceExistTF|IfInstanceExistsTF|g' \ + ${STAGEDIR}${PREFIX}/share/texmf-dist/tex/latex/xfrac/xfrac.sty ${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} ${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -type d -empty | ${SORT} -r | \