summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2001-06-29 03:20:49 +0000
committermax <max@FreeBSD.org>2001-06-29 03:20:49 +0000
commit8187d8d1e40f40b2e9d064fb75b27cce499bc32c (patch)
tree80f84f7fab7095c58f321e4ec0d358916f86ae4c
parentd112c0cae3792eb8d4231c395eb7ea9a8bcbb83b (diff)
downloadFreeBSD-ports-8187d8d1e40f40b2e9d064fb75b27cce499bc32c.zip
FreeBSD-ports-8187d8d1e40f40b2e9d064fb75b27cce499bc32c.tar.gz
Work around to make [p]LaTeX2e work.
Intended to be temporary until the original distribution is updated. Submitted by: mita
-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 4e8afd7..0bb77cc 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 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