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

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

Revision 1.2, 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.1: +6 -6 lines

Update kpathsea to 6.2.1  from texlive 2015

minor changes. inclusion of pkg-config file.

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

--- mktex.opt.orig	2014-07-18 23:38:50.000000000 +0000
+++ mktex.opt
@@ -10,7 +10,7 @@ if test "x$1" = x--help || test "x$1" = 
   exit 0
 elif test "x$1" = x--version || test "x$1" = x-version; then
   echo "$0 $version"
-  kpsewhich --version
+  @KPSEWHICH@ --version
   exit 0
 elif test $# -lt ${mt_min_args-1}; then
   echo "$0: Missing argument(s)." >&2
@@ -64,22 +64,22 @@ cd "$TEMPDIR" || exit 1
 
 # The alternative location for fonts.  The directory need not exist,
 # so we use --expand-var here.  We also perform a sanity check.
-: ${MT_VARTEXFONTS=`kpsewhich --expand-var='$VARTEXFONTS' | sed 's%^!!%%'`}
+: ${MT_VARTEXFONTS=`@KPSEWHICH@ --expand-var='$VARTEXFONTS' | sed 's%^!!%%'`}
 if test -z "$MT_VARTEXFONTS"; then
   echo "$0: VARTEXFONTS is not defined.  Defaulting to \`$KPSE_DOT'." >&2
   MT_VARTEXFONTS='$KPSE_DOT'
 fi
 
 # The supporting scripts:
-: ${MT_MKTEXNAM=`kpsewhich --format='web2c files' mktexnam`}
+: ${MT_MKTEXNAM=`@KPSEWHICH@ --format='web2c files' mktexnam`}
 test -n "$MT_MKTEXNAM" || MT_MKTEXNAM="$MT_TEXMFMAIN/web2c/mktexnam"
-: ${MT_MKTEXNAM_OPT=`kpsewhich --format='web2c files' mktexnam.opt`}
+: ${MT_MKTEXNAM_OPT=`@KPSEWHICH@ --format='web2c files' mktexnam.opt`}
 test -n "$MT_MKTEXNAM_OPT" || MT_MKTEXNAM_OPT="$MT_TEXMFMAIN/web2c/mktexnam.opt"
-: ${MT_MKTEXDIR=`kpsewhich --format='web2c files' mktexdir`}
+: ${MT_MKTEXDIR=`@KPSEWHICH@ --format='web2c files' mktexdir`}
 test -n "$MT_MKTEXDIR" || MT_MKTEXDIR="$MT_TEXMFMAIN/web2c/mktexdir"
-: ${MT_MKTEXDIR_OPT=`kpsewhich --format='web2c files' mktexdir.opt`}
+: ${MT_MKTEXDIR_OPT=`@KPSEWHICH@ --format='web2c files' mktexdir.opt`}
 test -n "$MT_MKTEXDIR_OPT" || MT_MKTEXDIR_OPT="$MT_TEXMFMAIN/web2c/mktexdir.opt"
-: ${MT_MKTEXUPD=`kpsewhich --format='web2c files' mktexupd`}
+: ${MT_MKTEXUPD=`@KPSEWHICH@ --format='web2c files' mktexupd`}
 test -n "$MT_MKTEXUPD" || MT_MKTEXUPD="$MT_TEXMFMAIN/web2c/mktexupd"
 
 # mktexupd and mktexlsr make sure they're coordinated via this.  A copy of
@@ -93,7 +93,7 @@ old_ls_R_magic='% ls-R -- maintained by 
 # given here (e.g. ``: ${MODE=ljfour}'', not just ``MODE=ljfour'', as
 # this can cause trouble (e.g. when the mode for mktexnam is
 # already specified on the command line).
-: ${MT_MKTEX_CNF=`kpsewhich --format='web2c files' mktex.cnf`}
+: ${MT_MKTEX_CNF=`@KPSEWHICH@ --format='web2c files' mktex.cnf`}
 test -n "$MT_MKTEX_CNF" && test -r "$MT_MKTEX_CNF" && . "$MT_MKTEX_CNF"
 
 # Possible features: appendonlydir dosnames fontmaps nomfdrivers nomode