summaryrefslogtreecommitdiff
path: root/print/kpathsea
diff options
context:
space:
mode:
authorminskim <minskim>2009-06-09 21:29:17 +0000
committerminskim <minskim>2009-06-09 21:29:17 +0000
commit4bacbc12efd603f1ec74420163d169d45bc488d2 (patch)
tree8729baaf68c7cb47632e7f49299ac90693989fff /print/kpathsea
parent82ba0a37d376541f710889df6128b83f67e645bd (diff)
downloadpkgsrc-4bacbc12efd603f1ec74420163d169d45bc488d2.tar.gz
Update kpathsea to 5.0.0.
Changes: * Make shared library version and general package version the same. * Make library re-entrant.
Diffstat (limited to 'print/kpathsea')
-rw-r--r--print/kpathsea/DEINSTALL3
-rw-r--r--print/kpathsea/INSTALL3
-rw-r--r--print/kpathsea/Makefile32
-rw-r--r--print/kpathsea/PLIST5
-rw-r--r--print/kpathsea/buildlink3.mk4
-rw-r--r--print/kpathsea/distinfo11
-rw-r--r--print/kpathsea/patches/patch-aa203
-rw-r--r--print/kpathsea/patches/patch-ab13
8 files changed, 47 insertions, 227 deletions
diff --git a/print/kpathsea/DEINSTALL b/print/kpathsea/DEINSTALL
index 78ec1d22316..b9e242b99ed 100644
--- a/print/kpathsea/DEINSTALL
+++ b/print/kpathsea/DEINSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: DEINSTALL,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+# $NetBSD: DEINSTALL,v 1.2 2009/06/09 21:29:17 minskim Exp $
case "${STAGE}" in
DEINSTALL)
@@ -6,7 +6,6 @@ DEINSTALL)
@PKG_SYSCONFDIR@/ls-R \
@VARBASE@/lib/texmf/ls-R \
@TEXMFLOCAL@/ls-R \
- @PREFIX@/share/doc/texmf/ls-R \
@PREFIX@/share/texmf-dist/ls-R \
@PREFIX@/share/texmf/ls-R
;;
diff --git a/print/kpathsea/INSTALL b/print/kpathsea/INSTALL
index b451cb044bf..032442bc261 100644
--- a/print/kpathsea/INSTALL
+++ b/print/kpathsea/INSTALL
@@ -1,11 +1,10 @@
-# $NetBSD: INSTALL,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+# $NetBSD: INSTALL,v 1.2 2009/06/09 21:29:17 minskim Exp $
case "${STAGE}" in
POST-INSTALL)
@PREFIX@/bin/mktexlsr \
@PREFIX@/share/texmf \
@PREFIX@/share/texmf-dist \
- @PREFIX@/share/doc/texmf \
@TEXMFLOCAL@ \
@VARBASE@/lib/texmf \
@PKG_SYSCONFDIR@
diff --git a/print/kpathsea/Makefile b/print/kpathsea/Makefile
index 4b7c032f2c9..6763bac581c 100644
--- a/print/kpathsea/Makefile
+++ b/print/kpathsea/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2009/04/11 19:16:33 minskim Exp $
+# $NetBSD: Makefile,v 1.6 2009/06/09 21:29:17 minskim Exp $
-DISTNAME= texlive-20080816-source
-PKGNAME= kpathsea-3.5.7
-PKGREVISION= 4
+DISTNAME= luatex-beta-0.40.2
+PKGNAME= kpathsea-5.0.0
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
-EXTRACT_SUFX= .tar.lzma
+MASTER_SITES= http://foundry.supelec.fr/gf/download/frsrelease/341/1275/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.tug.org/kpathsea/
@@ -14,19 +13,17 @@ COMMENT= Path searching library for TeX-related files
CONFLICTS+= teTeX-bin<=3.0nb21
CONFLICTS+= teTeX-texmf<=3.0nb5
-EXTRACT_ELEMENTS= ${DISTNAME}/texk/kpathsea \
- ${DISTNAME}/texk/make \
- ${DISTNAME}/texk/config.guess \
- ${DISTNAME}/texk/config.sub \
- ${DISTNAME}/texk/install.sh \
- ${DISTNAME}/texk/mkinstalldirs
+EXTRACT_ELEMENTS= ${DISTNAME}/source/build-aux \
+ ${DISTNAME}/source/texk/kpathsea \
+ ${DISTNAME}/source/texk/make
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
INFO_FILES= yes
USE_LIBTOOL= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/texk/kpathsea
+USE_TOOLS+= gmake
+WRKSRC= ${WRKDIR}/${DISTNAME}/source/texk/kpathsea
MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
@@ -34,7 +31,8 @@ SUBST_CLASSES+= texmfdir
SUBST_MESSAGE.texmfdir= Setting texmf directories.
SUBST_STAGE.texmfdir= pre-configure
SUBST_FILES.texmfdir= texmf.cnf
-SUBST_SED.texmfdir= -e 's,@TEXMFLOCAL@,${TEXMFLOCAL},'
+SUBST_SED.texmfdir= -e 's,@PREFIX@,${PREFIX},'
+SUBST_SED.texmfdir+= -e 's,@TEXMFLOCAL@,${TEXMFLOCAL},'
SUBST_SED.texmfdir+= -e 's,@VARBASE@,${VARBASE},'
SUBST_SED.texmfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},'
@@ -48,10 +46,6 @@ CONF_FILES= ${PREFIX}/share/texmf/web2c/texmf.cnf \
${PKG_SYSCONFDIR}/texmf.cnf
OWN_DIRS+= ${TEXMFLOCAL} ${VARBASE}/lib/texmf
-INSTALLATION_DIRS+= share/doc/texmf share/texmf-dist
-
-INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
- infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
- mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+INSTALLATION_DIRS+= share/texmf-dist
.include "../../mk/bsd.pkg.mk"
diff --git a/print/kpathsea/PLIST b/print/kpathsea/PLIST
index ad27e6f412f..8ec66a25514 100644
--- a/print/kpathsea/PLIST
+++ b/print/kpathsea/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/06/09 21:29:17 minskim Exp $
bin/kpseaccess
bin/kpsereadlink
bin/kpsestat
@@ -39,6 +39,7 @@ include/kpathsea/kpathsea.h
include/kpathsea/lib.h
include/kpathsea/line.h
include/kpathsea/magstep.h
+include/kpathsea/mingw32.h
include/kpathsea/paths.h
include/kpathsea/pathsearch.h
include/kpathsea/proginit.h
@@ -79,6 +80,4 @@ share/texmf/web2c/texmf.cnf
@exec ${MKDIR} %D/share/texmf-dist
@dirrm share/texmf-dist
@dirrm share/texmf
-@exec ${MKDIR} %D/share/doc/texmf
-@dirrm share/doc/texmf
@dirrm include/kpathsea
diff --git a/print/kpathsea/buildlink3.mk b/print/kpathsea/buildlink3.mk
index f7fc4f13cb5..5e238ad328c 100644
--- a/print/kpathsea/buildlink3.mk
+++ b/print/kpathsea/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:14 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2009/06/09 21:29:17 minskim Exp $
BUILDLINK_TREE+= kpathsea
.if !defined(KPATHSEA_BUILDLINK3_MK)
KPATHSEA_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=3.5.7
+BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=5.0.0
BUILDLINK_PKGSRCDIR.kpathsea?= ../../print/kpathsea
BUILDLINK_FILES.kpathsea+= bin/kpsewhich
.endif # KPATHSEA_BUILDLINK3_MK
diff --git a/print/kpathsea/distinfo b/print/kpathsea/distinfo
index 354e57396d9..f33d501e460 100644
--- a/print/kpathsea/distinfo
+++ b/print/kpathsea/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2009/04/11 19:16:33 minskim Exp $
+$NetBSD: distinfo,v 1.5 2009/06/09 21:29:17 minskim Exp $
-SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d
-RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38
-Size (texlive-20080816-source.tar.lzma) = 23175835 bytes
-SHA1 (patch-aa) = 87f14f7f2fbdfeff1150290ba1faa971c9137caf
+SHA1 (luatex-beta-0.40.2.tar.bz2) = 8af574490abb5cbcf9b8c2540ad2f623ec66babe
+RMD160 (luatex-beta-0.40.2.tar.bz2) = 2a05f51fdcb869f6398d6e643373ccb99246458f
+Size (luatex-beta-0.40.2.tar.bz2) = 7475791 bytes
+SHA1 (patch-aa) = f22538ddcb94566542984216103da97885377bcf
+SHA1 (patch-ab) = 241176f612485a800ec94974ab00419c92043243
diff --git a/print/kpathsea/patches/patch-aa b/print/kpathsea/patches/patch-aa
index 30a6067e8f1..45425470dc8 100644
--- a/print/kpathsea/patches/patch-aa
+++ b/print/kpathsea/patches/patch-aa
@@ -1,24 +1,19 @@
-$NetBSD: patch-aa,v 1.4 2009/04/11 19:16:34 minskim Exp $
+$NetBSD: patch-aa,v 1.5 2009/06/09 21:29:17 minskim Exp $
- Set paths to texmf trees for pkgsrc.
-- Sync with TeX Live Revision 12509.
---- texmf.cnf.orig 2008-07-26 14:39:36.000000000 -0700
+--- texmf.cnf.orig 2009-06-03 06:07:27.000000000 -0700
+++ texmf.cnf
-@@ -44,18 +44,18 @@
+@@ -53,15 +53,15 @@
% The tree containing the runtime files closely related to the specific
% program version used:
-TEXMFMAIN = $SELFAUTOPARENT/texmf
-+TEXMFMAIN = $SELFAUTODIR/share/texmf
++TEXMFMAIN = @PREFIX@/share/texmf
% The main distribution tree:
-TEXMFDIST = $SELFAUTOPARENT/texmf-dist
-+TEXMFDIST = $SELFAUTODIR/share/texmf-dist
-
- % Our documentation-only tree, arranged by language:
--TEXMFDOC = $SELFAUTOPARENT/texmf-doc
-+TEXMFDOC = $SELFAUTODIR/share/doc/texmf
++TEXMFDIST = @PREFIX@/share/texmf-dist
% A place for local additions to a "standard" texmf tree.
% This tree is not used for local configuration maintained by
@@ -28,7 +23,7 @@ $NetBSD: patch-aa,v 1.4 2009/04/11 19:16:34 minskim Exp $
% TEXMFSYSVAR, where texconfig-sys stores variable runtime data.
% With teTeX-3.0 or later, this must be set.
-@@ -63,7 +63,7 @@ TEXMFLOCAL = $SELFAUTOPARENT/../texmf-lo
+@@ -69,7 +69,7 @@ TEXMFLOCAL = $SELFAUTOPARENT/../texmf-lo
% TEXMFSYSVAR = $TEXMFMAIN
% For using a separate tree:
% TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
@@ -37,7 +32,7 @@ $NetBSD: patch-aa,v 1.4 2009/04/11 19:16:34 minskim Exp $
% TEXMFSYSCONFIG, where texconfig-sys stores configuration data.
% With teTeX-3.0 or later, this must be set.
-@@ -71,7 +71,7 @@ TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
+@@ -77,7 +77,7 @@ TEXMFSYSVAR = $SELFAUTOPARENT/texmf-var
% TEXMFSYSCONFIG = $TEXMFMAIN
% For using a separate tree:
% TEXMFSYSCONFIG = $SELFAUTOPARENT/texmf-config
@@ -46,7 +41,7 @@ $NetBSD: patch-aa,v 1.4 2009/04/11 19:16:34 minskim Exp $
% User texmf trees are allowed as follows.
% This used to be HOMETEXMF.
-@@ -122,7 +122,7 @@ SYSTEXMF = $TEXMFSYSVAR;$TEXMFMAIN;$TEXM
+@@ -128,7 +128,7 @@ SYSTEXMF = $TEXMFSYSVAR;$TEXMFMAIN;$TEXM
% Where generated fonts may be written. This tree is used when the sources
% were found in a system tree and either that tree wasn't writable, or the
% varfonts feature was enabled in MT_FEATURES in mktex.cnf.
@@ -55,153 +50,7 @@ $NetBSD: patch-aa,v 1.4 2009/04/11 19:16:34 minskim Exp $
% Where to look for ls-R files. There need not be an ls-R in the
% directories in this path, but if there is one, Kpathsea will use it.
-@@ -146,7 +146,7 @@ TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSY
-
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--% Usually you will not need to edit any of the other variables in part 1. %
-+% Usually you will not need to edit any of the following variables.
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- % WEB2C is for Web2C specific files. The current directory may not be
-@@ -154,12 +154,16 @@ TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSY
- WEB2C = $TEXMF/web2c
-
- % TEXINPUTS is for TeX input files -- i.e., anything to be found by \input
--% or \openin, including .sty, .eps, etc.
-+% or \openin, including .sty, .eps, etc. We specify paths for all known
-+% formats, past or present. Not all of them are built these days.
-
- % Plain TeX. Have the command tex check all directories as a last
- % resort, we may have plain-compatible stuff anywhere.
- TEXINPUTS.tex = .;$TEXMF/tex/{plain,generic,}//
-
-+% Fontinst needs to read afm files.
-+TEXINPUTS.fontinst = .;$TEXMF/{tex,fonts/afm}//
-+
- % Other plain-based formats.
- TEXINPUTS.amstex = .;$TEXMF/tex/{amstex,plain,generic,}//
- TEXINPUTS.csplain = .;$TEXMF/tex/{csplain,plain,generic,}//
-@@ -168,7 +172,6 @@ TEXINPUTS.ftex = .;$TEXMF/tex/{
- TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
- TEXINPUTS.mex = .;$TEXMF/tex/{mex,plain,generic,}//
- TEXINPUTS.texinfo = .;$TEXMF/tex/{texinfo,plain,generic,}//
--TEXINPUTS.xetex = .;$TEXMF/tex/{xetex,plain,generic,}//
-
- % LaTeX 2e specific macros are stored in latex/, macros that can only be
- % used with 2.09 in latex209/. In addition, we look in the directory
-@@ -176,12 +179,8 @@ TEXINPUTS.xetex = .;$TEXMF/tex/{
- % mention 2e at all, but can be used with 2e.
- TEXINPUTS.cslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
- TEXINPUTS.latex = .;$TEXMF/tex/{latex,generic,}//
--TEXINPUTS.olatex = .;$TEXMF/tex/{latex,generic,}//
- TEXINPUTS.latex209 = .;$TEXMF/tex/{latex209,generic,latex,}//
--TEXINPUTS.xelatex = .;$TEXMF/tex/{xelatex,latex,generic,}//
--
--% Fontinst needs to read afm files.
--TEXINPUTS.fontinst = .;$TEXMF/{tex,fonts/afm}//
-+TEXINPUTS.olatex = .;$TEXMF/tex/{latex,generic,}//
-
- % MLTeX.
- TEXINPUTS.frlatex = .;$TEXMF/tex/{french,latex,generic,}//
-@@ -189,13 +188,11 @@ TEXINPUTS.frtex = .;$TEXMF/tex/{
- TEXINPUTS.mllatex = .;$TEXMF/tex/{latex,generic,}//
- TEXINPUTS.mltex = .;$TEXMF/tex/{plain,generic,}//
-
--% e-TeX. This form of the input paths is borrowed from teTeX. A certain
--% variant of TDS is assumed here, unaffected by the build variables.
-+% e-TeX.
- TEXINPUTS.elatex = .;$TEXMF/tex/{latex,generic,}//
- TEXINPUTS.etex = .;$TEXMF/tex/{plain,generic,}//
-
--% pdfTeX. This form of the input paths is borrowed from teTeX. A certain
--% variant of TDS is assumed here, unaffected by the build variables.
-+% pdfTeX.
- TEXINPUTS.pdfcslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
- TEXINPUTS.pdfcsplain = .;$TEXMF/tex/{csplain,plain,generic,}//
- TEXINPUTS.pdfjadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
-@@ -212,39 +209,45 @@ TEXINPUTS.pdfetex = .;$TEXMF/tex/{
-
- % pdfxTeX.
- TEXINPUTS.pdfxlatex = .;$TEXMF/tex/{latex,generic,}//
-+TEXINPUTS.pdfxmex = .;$TEXMF/tex/{mex,plain,generic,}//
- TEXINPUTS.pdfxtex = .;$TEXMF/tex/{plain,generic,}//
-
--% XeTeX
-+% LuaTeX.
-+TEXINPUTS.lualatex = .;$TEXMF/tex/{lualatex,latex,generic,}//
-+TEXINPUTS.luatex = .;$TEXMF/tex/{luatex,plain,generic,}//
-+TEXINPUTS.pdflualatex = .;$TEXMF/tex/{lualatex,latex,generic,}//
-+TEXINPUTS.pdfluatex = .;$TEXMF/tex/{lualatex,latex,generic,}//
-+
-+% XeTeX.
- TEXINPUTS.xelatex = .;$TEXMF/tex/{xelatex,latex,generic,}//
- TEXINPUTS.xeplain = .;$TEXMF/tex/{xeplain,eplain,plain,generic,}//
- TEXINPUTS.xetex = .;$TEXMF/tex/{xetex,plain,generic,}//
-
--% Omega / Aleph
--TEXINPUTS.lamed = .;$TEXMF/tex/{lamed,lambda,latex,generic,}//
-+% Omega / Aleph.
-+TEXINPUTS.aleph = .;$TEXMF/tex/{plain,generic,}//
-+TEXINPUTS.elambda = .;$TEXMF/tex/{lambda,latex,generic,}//
-+TEXINPUTS.eomega = .;$TEXMF/tex/{plain,generic,}//
- TEXINPUTS.lambda = .;$TEXMF/tex/{lambda,latex,generic,}//
-+TEXINPUTS.lamed = .;$TEXMF/tex/{lamed,lambda,latex,generic,}//
- TEXINPUTS.omega = .;$TEXMF/tex/{plain,generic,}//
--TEXINPUTS.aleph = .;$TEXMF/tex/{plain,generic,}//
-
--% ConTeXt
-+% ConTeXt.
- TEXINPUTS.context = .;$TEXMF/tex/{context,plain,generic,}//
-
--% odd formats needing their own paths
-+% XMLTeX.
-+TEXINPUTS.xmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
-+TEXINPUTS.pdfxmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
-+
-+% Miscellany, no longer built.
- TEXINPUTS.lamstex = .;$TEXMF/tex/{lamstex,plain,generic,}//
- TEXINPUTS.lollipop = .;$TEXMF/tex/{lollipop,plain,generic,}//
--
--% Earlier entries override later ones, so put this last.
--TEXINPUTS = .;$TEXMF/tex/{$progname,generic,}//
--
--% extra format definitions for TeX Live
--
--TEXINPUTS.elambda = .;$TEXMF/tex/{lambda,latex,generic,}//
--TEXINPUTS.eomega = .;$TEXMF/tex/{plain,generic,}//
--TEXINPUTS.pdfxmex = .;$TEXMF/tex/{mex,plain,generic,}//
- TEXINPUTS.frpdflatex = .;$TEXMF/tex/{french,latex,generic,}//
- TEXINPUTS.frpdftex = .;$TEXMF/tex/{french,plain,generic,}//
--TEXINPUTS.xmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
--TEXINPUTS.pdfxmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
-
-+% Earlier entries override later ones, so put this generic one last.
-+TEXINPUTS = .;$TEXMF/tex/{$progname,generic,}//
-+
-+% ttf2tfm.
- TTF2TFMINPUTS = .;$TEXMF/ttf2pk//
-
- % Metafont, MetaPost inputs.
-@@ -384,14 +387,11 @@ FONTCONFIG_FILE=fonts.conf
- FONTCONFIG_PATH=$TEXMFSYSVAR/fonts/conf
- FC_CACHEDIR=$TEXMFSYSVAR/fonts/cache
-
--% TeX documentation and source files, for use with kpsewhich.
-+% TeX documentation and source files, for use with kpsewhich (and texdoc).
- % TeX Live has a separate hierarchy with just documentation, texmf-doc,
- % in addition to the doc files in the other hierarchies.
--% Also, find the English documentation first -- better than random, when
--% there are name collisions.
--% Also, find things from man pages first, same reason.
--TEXMFDOCDIR = $TEXMFDOC/doc{/english,}
--TEXDOCS = .;$TEXMF/doc{/man,}//;$TEXMFDOCDIR//
-+TEXMFDOCDIR = $TEXMFDOC/doc
-+TEXDOCS = .;$TEXMF/doc//;$TEXMFDOCDIR//
- TEXSOURCES = .;$TEXMF/source//
-
- % Web and CWeb input paths.
-@@ -447,7 +447,7 @@ RUBYINPUTS = .;$TEXMF/scripts/{$progna
+@@ -455,7 +455,7 @@ RUBYINPUTS = .;$TEXMF/scripts/{$progna
%
% For security reasons, it is better not to include . in this path.
%
@@ -210,37 +59,3 @@ $NetBSD: patch-aa,v 1.4 2009/04/11 19:16:34 minskim Exp $
# kpathsea 3.5.3 and later sets these at runtime. To avoid empty
# expansions from binaries linked against an earlier version of the
-@@ -458,11 +458,10 @@ engine = unsetengine
-
- % Part 2: Options.
-
--% If this is true, `tex a.b' will look first for a.b.tex (within each
--% path element), and then for a.b, i.e., we try standard extensions
--% first. If this is false, we first look for a.b and then a.b.tex,
--% first. If this is false, we first look for a.b and then a.b.tex,
--% i.e., we try the name as-is first.
-+% If this option is set to true, `tex a.b' will look first for a.b.tex
-+% (within each path element), and then for a.b, i.e., we try standard
-+% extensions first. If this is false, we first look for a.b and then
-+% a.b.tex, i.e., we try the name as-is first.
- %
- % Both names are always tried; the difference is the order in which they
- % are tried. The setting applies to all searches, not just .tex.
-@@ -472,7 +471,7 @@ engine = unsetengine
- % always have an extension added first.
- %
- % The default is true, because we already avoid adding the standard
--% extension(s) in most common cases. E.g., babel.sty will only look for
-+% extension(s) in the usual cases. E.g., babel.sty will only look for
- % babel.sty, not babel.sty.tex, regardless of this setting.
- try_std_extension_first = t
-
-@@ -612,7 +611,7 @@ buf_size = 200000
- % for all known free hyphenation patterns to be loaded simultaneously
- % (as TeX Live does).
- %
--trie_size = 600000
-+trie_size = 700000
-
- hyph_size = 8191 % prime number of hyphenation exceptions, >610, <32767.
- % http://primes.utm.edu/curios/page.php/8191.html
diff --git a/print/kpathsea/patches/patch-ab b/print/kpathsea/patches/patch-ab
new file mode 100644
index 00000000000..e051a4072a2
--- /dev/null
+++ b/print/kpathsea/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2009/06/09 21:29:17 minskim Exp $
+
+--- Makefile.in.orig 2009-06-03 06:07:21.000000000 -0700
++++ Makefile.in
+@@ -421,7 +421,7 @@ DISTCLEANFILES = paths.h stamp-paths
+ kpseaccess_SOURCES = access.c
+ kpsereadlink_SOURCES = readlink.c
+ kpsewhich_LDADD = libkpathsea.la
+-web2cdir = ${prefix}/texmf/web2c
++web2cdir = ${prefix}/share/texmf/web2c
+ dist_web2c_SCRIPTS = mktexdir mktexnam mktexupd
+ dist_web2c_DATA = mktex.opt mktexdir.opt mktexnam.opt
+ dist_noinst_SCRIPTS = mktexlsr mktexmf mktexpk mktextfm