summaryrefslogtreecommitdiff
path: root/print/teTeX-share
diff options
context:
space:
mode:
authorkei <kei>2001-10-24 00:28:47 +0000
committerkei <kei>2001-10-24 00:28:47 +0000
commitfb3b62182c192b9fe0685aa95fa0d909cf1dc1e5 (patch)
treea312e808ec229076cbf54ff5a3cd1d392dcc4694 /print/teTeX-share
parent80b30a78de4272cf6f3438ba113d5d7b6b7fde1b (diff)
downloadpkgsrc-fb3b62182c192b9fe0685aa95fa0d909cf1dc1e5.tar.gz
Updated teTeX-share and teTeX-sharesrc for preparing to update of TeXfamily
which doesn't compile recently because of the LaTeX's "Hey, your distribution is too old! Please update it to the latest one!" feature. Quoted from the patch to `latex.ltx'. This is a work around for the '1 year old' error which avoids the format file from being generated correctly. Provided by Naoto Shimazaki. Because of NO_EXTRACT/NO_PATCH/others are defined in teTeX-share{,src} packages, applying this patch is done by packages' Makefiles on do-install stage. New version numbers after these changes are like below: teTeX: 1.0.7nb1 teTeX-bin: 1.0.7nb1 teTeX-share: 1.0.2nb1 teTeX-sharesrc: 1.0.1nb1
Diffstat (limited to 'print/teTeX-share')
-rw-r--r--print/teTeX-share/Makefile9
-rw-r--r--print/teTeX-share/files/latex.ltx.diff21
2 files changed, 28 insertions, 2 deletions
diff --git a/print/teTeX-share/Makefile b/print/teTeX-share/Makefile
index 44acbcc4866..28fc56591d1 100644
--- a/print/teTeX-share/Makefile
+++ b/print/teTeX-share/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2001/02/25 04:18:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2001/10/24 00:28:48 kei Exp $
#
DISTNAME= teTeX-texmf-1.0.2
-PKGNAME= teTeX-share-1.0.2
+PKGNAME= teTeX-share-1.0.2nb1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/1.0/distrib/sources/}
@@ -18,6 +18,8 @@ NO_CONFIGURE= yes
NO_BUILD= yes
NO_MTREE= yes
+EXTRA_PATCH= ${FILESDIR}/latex.ltx.diff
+
do-install:
@${ECHO} ""
@${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf"
@@ -30,5 +32,8 @@ do-install:
-C ${PREFIX}/share/texmf \
-X ${FILESDIR}/exclude \
-f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
+ @cd ${PREFIX}/share/texmf/tex/latex/base && \
+ ${PATCH} < ${EXTRA_PATCH} && \
+ ${RM} latex.ltx.orig
.include "../../mk/bsd.pkg.mk"
diff --git a/print/teTeX-share/files/latex.ltx.diff b/print/teTeX-share/files/latex.ltx.diff
new file mode 100644
index 00000000000..73d82010fb0
--- /dev/null
+++ b/print/teTeX-share/files/latex.ltx.diff
@@ -0,0 +1,21 @@
+$NetBSD: latex.ltx.diff,v 1.1 2001/10/24 00:28:49 kei Exp $
+
+This is a work around for the '1 year old' error which avoids the format
+file from being generated correctly. Provided by Naoto Shimazaki.
+
+Because of NO_EXTRACT/NO_PATCH/others are defined in teTeX-share{,src}
+packages, applying this patch is done by packages' Makefiles on do-install
+stage.
+
+--kei
+
+--- latex.ltx.orig Mon Sep 17 09:24:52 2001
++++ latex.ltx Mon Sep 17 09:25:16 2001
+@@ -72,6 +72,7 @@
+ \errmessage
+ {LaTeX must be made using an initex with no format preloaded}
+ \fi
++\scrollmode
+ \catcode`\{=1
+ \catcode`\}=2
+ \catcode`\#=6