diff options
Diffstat (limited to 'Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-24-TL-use-xindy_run')
-rw-r--r-- | Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-24-TL-use-xindy_run | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-24-TL-use-xindy_run b/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-24-TL-use-xindy_run deleted file mode 100644 index 1429f46549d..00000000000 --- a/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/patch-24-TL-use-xindy_run +++ /dev/null @@ -1,53 +0,0 @@ - Invoke either 'xindy.run' or 'clisp'. - -diff -ur -x Makefile.in -x autom4te.cache xindy.orig/user-commands/xindy.in xindy/user-commands/xindy.in ---- xindy.orig/user-commands/xindy.in 2009-12-09 12:25:35.000000000 +0100 -+++ xindy/user-commands/xindy.in 2009-12-10 10:57:20.000000000 +0100 -@@ -287,13 +287,19 @@ - - use File::Basename; - use Cwd; --our ($isW32, $r0, $xindy_run); -+our ($isW32, $r0, $clisp); - our ($cmd_dir, $cmd, $lib_dir, $modules_dir); - BEGIN { - $isW32 = ($^O =~ /^MSWin/i) ? 1 : 0; - $r0 = Cwd::realpath($0); - $cmd = basename($r0); - -+ if ($isW32 || $^O eq "cygwin") { -+ $clisp = "clisp.exe"; -+ } else { -+ $clisp = "clisp"; -+ } -+ - # FIXME: make two subroutines for TL2010 and !TL2010 part - - if ($cmd eq "xindy.pl") { # TL2010 -@@ -325,15 +331,13 @@ - - $lib_dir = $cmd_dir; - -+ my $xindy_run; - if ($isW32 || $^O eq "cygwin") { - $xindy_run = "$lib_dir/xindy-lisp.exe"; - } else { - $xindy_run = "$lib_dir/xindy.run"; - } -- # FIXME: what I really want to do is 'undefine' or 'delete' -- $xindy_run = "" unless -e $xindy_run; -- -- # FIXME: modify call_xindy() to use "$xindy_run" if it exists -+ $clisp = $xindy_run if -e $xindy_run; - - } else { # !TL2010 - -@@ -723,7 +727,7 @@ - sub call_xindy ( $$ ) { - my ($mem_file, $xindy_exp) = @_; - -- my @command = ('clisp', '-M', $mem_file, '-E', 'iso-8859-1'); -+ my @command = ($clisp, '-M', $mem_file, '-E', 'iso-8859-1'); - if ( $interactive ) { - print "Proposed xindy expression:\n\n$xindy_exp\n" unless $quiet; - } else { |