summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/ptex-base/Makefile6
-rw-r--r--japanese/ptex-common/Makefile6
2 files changed, 12 insertions, 0 deletions
diff --git a/japanese/ptex-base/Makefile b/japanese/ptex-base/Makefile
index 4e8afd75a89d..0bb77cc8b5ec 100644
--- a/japanese/ptex-base/Makefile
+++ b/japanese/ptex-base/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
diff --git a/japanese/ptex-common/Makefile b/japanese/ptex-common/Makefile
index 4e8afd75a89d..0bb77cc8b5ec 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