summaryrefslogtreecommitdiffstats
path: root/japanese/ptex-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ptex-common/Makefile')
-rw-r--r--japanese/ptex-common/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/ptex-common/Makefile b/japanese/ptex-common/Makefile
index 4e8afd7..0bb77cc 100644
--- a/japanese/ptex-common/Makefile
+++ b/japanese/ptex-common/Makefile
@@ -70,6 +70,12 @@ pre-install:
@${MKDIR} ${TEXMF_TREE}
@tar zxf ${_DISTDIR}/${TETEX_TEXMF} -C ${TEXMF_TREE}
@tar zxf ${_DISTDIR}/${PTEX_TEXMF} -C ${TEXMF_TREE}
+# Following two commands are intended to be temporary until
+# the original distribution is updated.
+ ${MV} -f ${PREFIX}/share/texmf/tex/latex/base/latex.ltx ${WRKDIR}
+ ${SED} -e 's/\\ifnum\\count@>17/\\ifnum\\count@>57/' \
+ ${WRKDIR}/latex.ltx \
+ > ${PREFIX}/share/texmf/tex/latex/base/latex.ltx
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/texinfo/util/texi2dvi ${PREFIX}/bin
OpenPOWER on IntegriCloud