diff options
Diffstat (limited to 'graphics/tex-epstopdf/patches/patch-bin_epstopdf')
-rw-r--r-- | graphics/tex-epstopdf/patches/patch-bin_epstopdf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/tex-epstopdf/patches/patch-bin_epstopdf b/graphics/tex-epstopdf/patches/patch-bin_epstopdf new file mode 100644 index 00000000000..7bed0eb49f0 --- /dev/null +++ b/graphics/tex-epstopdf/patches/patch-bin_epstopdf @@ -0,0 +1,26 @@ +$NetBSD: patch-bin_epstopdf,v 1.1.1.1 2011/10/26 20:33:02 minskim Exp $ + +Fix paths to commands: gs and kpathsea. + +--- bin/epstopdf.orig 2010-05-19 23:29:01.000000000 +0000 ++++ bin/epstopdf +@@ -1,4 +1,3 @@ +-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' +- if 0; ++#!/usr/bin/perl + use strict; + +@@ -165,5 +164,5 @@ my $on_windows_or_cygwin = $on_windows | + + ### ghostscript command name +-my $GS = $on_windows ? "gswin32c" : "gs"; ++my $GS = "@GHOSTSCRIPT@"; + + ### restricted mode +@@ -257,5 +256,5 @@ debug "Restricted mode activated" if $re + + ### safer external commands for Windows in restricted mode +-my $kpsewhich = 'kpsewhich'; ++my $kpsewhich = '@KPSEWHICH@'; + if ($restricted && $on_windows) { + use File::Basename; |