[BACK]Return to patch-ai CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / kpathsea / patches

File: [cvs.NetBSD.org] / pkgsrc / print / kpathsea / patches / Attic / patch-ai (download)

Revision 1.3, Sun Jun 14 11:12:37 2015 UTC (7 years, 7 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.2: +6 -6 lines

Update kpathsea to 6.2.1  from texlive 2015

minor changes. inclusion of pkg-config file.

$NetBSD: patch-ai,v 1.3 2015/06/14 11:12:37 markd Exp $

--- mktexmf.orig	2014-07-18 23:38:50.000000000 +0000
+++ mktexmf
@@ -24,8 +24,8 @@ TeX Live home page: <http://tug.org/texl
 "
 
 # Common code for all scripts.
-: ${MT_TEXMFMAIN=`kpsewhich --expand-path='$TEXMFMAIN'`}
-: ${MT_MKTEX_OPT=`kpsewhich --format='web2c files' mktex.opt`}
+: ${MT_TEXMFMAIN=`@KPSEWHICH@ --expand-path='$TEXMFMAIN'`}
+: ${MT_MKTEX_OPT=`@KPSEWHICH@ --format='web2c files' mktex.opt`}
 test -n "$MT_MKTEX_OPT" || MT_MKTEX_OPT="$MT_TEXMFMAIN/web2c/mktex.opt"
 if test ! -f "$MT_MKTEX_OPT"; then
   echo "$progname: Cannot find mktex.opt; check your installation." >&2
@@ -40,7 +40,7 @@ name="`echo $1 | sed 's%.*/%%; s%\.mf$%%
 rootname=`echo "$name" | sed 's/[0-9]*$//'`
 pointsize=`echo "$name" | sed "s/^$rootname//"`
 
-sauterroot=`kpsewhich b-$rootname.mf 2>/dev/null`
+sauterroot=`@KPSEWHICH@ b-$rootname.mf 2>/dev/null`
 if test -n "$sauterroot"; then
   rootfile=$sauterroot
   rootname=b-$rootname
@@ -52,12 +52,12 @@ else
     *)
       case $rootname in
         cs*|lcsss*|icscsc*|icstt*|ilcsss*)
-          rootfile=`kpsewhich cscode.mf`;;
+          rootfile=`@KPSEWHICH@ cscode.mf`;;
         wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*)
           lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'`
-          rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;;
+          rootfile=`@KPSEWHICH@ ${lhprefix}codes.mf 2>/dev/null`;;
         *)
-          rootfile=`kpsewhich $rootname.mf 2>/dev/null`;;
+          rootfile=`@KPSEWHICH@ $rootname.mf 2>/dev/null`;;
       esac;;
   esac
 fi