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

File: [cvs.NetBSD.org] / pkgsrc / print / tex-tetex / patches / Attic / patch-bin_texlinks (download)

Revision 1.1, Sat Oct 13 22:38:20 2012 UTC (10 years, 3 months ago) by minskim
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, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4

Update tex-tetex{,-doc} to 3.0.27774.

In TeX Live 2012, this package replaces print/texlive-tetex.

$NetBSD: patch-bin_texlinks,v 1.1 2012/10/13 22:38:20 minskim Exp $

--- bin/texlinks.orig	2012-10-09 17:39:16.000000000 +0000
+++ bin/texlinks
@@ -188,7 +188,7 @@ install_link()
 ###############################################################################
 search_symlinkdir()
 {
-  kpsewhich=`check_for_binary kpsewhich`
+  kpsewhich=@KPSEWHICH@
   test -z "$kpsewhich" && return 1
   symlinkdir=`echo $kpsewhich | sed 's@/*kpsewhich$@@'`
   kpseaccess -w "$symlinkdir" || return 1
@@ -251,7 +251,7 @@ main()
   silent=false
   thisdir=`pwd`
   : ${KPSE_DOT=$thisdir}; export KPSE_DOT
-  selfautoloc=`kpsewhich --expand-var='$SELFAUTOLOC'`
+  selfautoloc=`@KPSEWHICH@ --expand-var='$SELFAUTOLOC'`
   while 
     case $1 in
       --h*|-h)
@@ -272,7 +272,7 @@ main()
   dirs="$*"
 
   # if no cnf_file from command-line, look it up with kpsewhich:
-  test -z "$cnf_file" && cnf_file=`kpsewhich --format='web2c files' $cnf`
+  test -z "$cnf_file" && cnf_file=`@KPSEWHICH@ --format='web2c files' $cnf`
   test -f "$cnf_file" || abort "config file \`$cnf' not found"
 
 
@@ -287,7 +287,7 @@ main()
     if test $multiplatform = true; then
       case $selfautoloc in
         */bin) dirs=$selfautoloc;;
-        *)     parent=`kpsewhich --expand-var='$SELFAUTODIR'`
+        *)     parent=`@KPSEWHICH@ --expand-var='$SELFAUTODIR'`
                dirs=`find $parent -type f -name kpsewhich -print \
                        | sed 's@/kpsewhich$@@'`;;
       esac