diff options
Diffstat (limited to 'print/texlive-tetex/patches/patch-ai')
-rw-r--r-- | print/texlive-tetex/patches/patch-ai | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/print/texlive-tetex/patches/patch-ai b/print/texlive-tetex/patches/patch-ai index 2665c2cadd1..45171477ba5 100644 --- a/print/texlive-tetex/patches/patch-ai +++ b/print/texlive-tetex/patches/patch-ai @@ -1,6 +1,6 @@ -$NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ +$NetBSD: patch-ai,v 1.3 2011/11/06 08:43:29 minskim Exp $ ---- texconfig.orig 2008-07-17 13:24:39.000000000 -0700 +--- texconfig.orig 2011-01-07 11:45:38.000000000 +0000 +++ texconfig @@ -91,7 +91,7 @@ echoShowKpseVariable() for eskv @@ -65,7 +65,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ } ############################################################################### -@@ -606,7 +606,7 @@ Report bugs to <tex-k@tug.org>." +@@ -607,7 +607,7 @@ TeX Live home page: <http://tug.org/texl echo echo '============================= font map files =============================' for m in psfonts.map pdftex.map ps2pk.map dvipdfm.map; do @@ -74,7 +74,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ done echo echo '=========================== kpathsea variables ===========================' -@@ -702,7 +702,7 @@ Valid PAPER settings: +@@ -703,7 +703,7 @@ Valid PAPER settings: *) otherPrinter=true otherPrinterName=$2 @@ -83,7 +83,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ case $otherPrinterFile in "") echo "$progname: configuration file \`config.$otherPrinterName' for printer \`$otherPrinterName' not found" >&2 -@@ -735,7 +735,7 @@ Valid PAPER settings: +@@ -736,7 +736,7 @@ Valid PAPER settings: ;; *) printerName=$2 @@ -92,7 +92,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ case $pFile in "") setupTmpDir -@@ -772,7 +772,7 @@ Valid PAPER settings: +@@ -773,7 +773,7 @@ Valid PAPER settings: ;; *) printerName=$2 @@ -101,7 +101,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ case $pFile in "") echo "$progname: configuration file for printer \`$printerName' (config.$printerName) not found" >&2 -@@ -930,7 +930,7 @@ For more information about these \`featu +@@ -931,7 +931,7 @@ For more information about these \`featu ;; *) tcBatchFontVardir=$3 @@ -110,7 +110,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ if test -n "$tfc"; then if test -w "$tfc"; then configReplace "$tfc" '^VARTEXFONTS' "VARTEXFONTS = $tcBatchFontVardir" -@@ -946,7 +946,7 @@ For more information about these \`featu +@@ -947,7 +947,7 @@ For more information about these \`featu esac ;; rw) @@ -119,7 +119,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ if test -z "$MT_VARTEXFONTS"; then echo "$progname: failed to set \`font rw'; reason: could not determine VARTEXFONTS variable." >&2; rc=1 return -@@ -972,7 +972,7 @@ For more information about these \`featu +@@ -973,7 +973,7 @@ For more information about these \`featu fmgrConfigReplace mktex.cnf '^: ..MT_FEATURES=' ": \${MT_FEATURES=appendonlydir:varfonts}" ;; ro) @@ -128,7 +128,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ if test -z "$MT_VARTEXFONTS"; then echo "$progname: failed to set \`font ro'; reason: could not determine VARTEXFONTS variable." >&2; rc=1 return -@@ -1023,10 +1023,10 @@ EOM +@@ -1024,10 +1024,10 @@ EOM setupTmpDir echo "$progname: analyzing old configuration..." >&2 @@ -142,7 +142,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ if cmp $tmpdir/pre $tmpdir/post >/dev/null 2>&1; then echo "$progname: no new/updated formats available ..." >&2 -@@ -1034,9 +1034,9 @@ EOM +@@ -1035,9 +1035,9 @@ EOM echo "$progname: updating formats ..." >&2 comm -13 $tmpdir/pre $tmpdir/post > $tmpdir/addOrChange for i in `awk '{print $1}' $tmpdir/addOrChange`; do @@ -154,7 +154,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ fi ;; -@@ -1076,7 +1076,7 @@ $formatsForHyphenFmt" +@@ -1077,7 +1077,7 @@ $formatsForHyphenFmt" *) if checkElemInList "$tcBatchHyphenFormat" $formatsForHyphen; then @@ -163,7 +163,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ case $tcBatchHyphenFile in "") echo "$progname: could not find hyphen setup file for format \`$tcBatchHyphenFormat'" >&2 -@@ -1133,7 +1133,7 @@ $formatsForHyphenFmt" +@@ -1134,7 +1134,7 @@ $formatsForHyphenFmt" fi ;; esac @@ -172,30 +172,29 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ fi else echo "$progname: invalid format \`$tcBatchHyphenFormat' specified as argument for \`$progname hyphen'" >&2 -@@ -1150,17 +1150,17 @@ $formatsForHyphenFmt" - +@@ -1152,9 +1152,9 @@ $formatsForHyphenFmt" init) - if test -n "$texconfig_sys"; then # set by texconfig-sys -- fmtutil=fmtutil-sys -- updmap=updmap-sys -+ fmtutil=@FMTUTIL_SYS@ -+ updmap=@UPDMAP_SYS@ - else -- fmtutil=fmtutil -- updmap=updmap -+ fmtutil=@FMTUTIL@ -+ updmap=@UPDMAP@ - fi - case $2 in "") - if $fmtutil --all \ +- if fmtutil --all \ - && texlinks --multiplatform \ +- && updmap; then ++ if @FMTUTIL@ --all \ + && @TEXLINKS@ --multiplatform \ - && $updmap; then ++ && @UPDMAP@; then : else -@@ -1273,7 +1273,7 @@ Valid PAPER settings: + rc=1 +@@ -1163,7 +1163,7 @@ $formatsForHyphenFmt" + *) + shift 1 + for i in "$@"; do +- fmtutil --byfmt "$i" || rc=1 ++ @FMTUTIL@ --byfmt "$i" || rc=1 + done + ;; + esac +@@ -1266,7 +1266,7 @@ Valid PAPER settings: set x `getRes "$tcBatchPdftexMode"`; shift fmgrConfigReplace pdftexconfig.tex 'pdfpkresolution' "\\pdfpkresolution=$1" if $fmgrConfigReplaceChanged; then @@ -204,7 +203,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ fi else echo "$progname: unknown MODE \`$tcBatchPdftexMode' given as argument for \`$progname pdftex mode'" >&2 -@@ -1292,7 +1292,7 @@ Valid PAPER settings: +@@ -1285,7 +1285,7 @@ Valid PAPER settings: wChanged=$fmgrConfigReplaceChanged fmgrConfigReplace pdftexconfig.tex pdfpageheight '\pdfpageheight='"$h" if $wChanged || $fmgrConfigReplaceChanged; then @@ -213,7 +212,7 @@ $NetBSD: patch-ai,v 1.2 2009/09/20 19:16:49 minskim Exp $ fi ;; a4) -@@ -1301,7 +1301,7 @@ Valid PAPER settings: +@@ -1294,7 +1294,7 @@ Valid PAPER settings: wChanged=$fmgrConfigReplaceChanged fmgrConfigReplace pdftexconfig.tex pdfpageheight '\pdfpageheight='"$h" if $wChanged || $fmgrConfigReplaceChanged; then |