$NetBSD: patch-bin_epstopdf,v 1.4 2023/04/09 05:25:13 markd Exp $

Fix paths to commands: gs and kpathsea.

--- bin/epstopdf.orig	2023-03-28 07:22:26.000000000 +0000
+++ bin/epstopdf
@@ -212,7 +212,7 @@ my $on_windows = $^O =~ /^(MSWin|msys$)/
 my $on_windows_or_cygwin = $on_windows || $^O eq "cygwin";
 
 ### ghostscript command name
-my $GS = "gs";
+my $GS = "@GHOSTSCRIPT@";
 if ($on_windows) {
   $GS = "gswin32c";
   if ($ENV{"PROCESSOR_ARCHITECTURE"} eq "AMD64"
@@ -496,7 +496,7 @@ sub warnerr    { $restricted ? error(@_)
 debug "Restricted mode activated" if $restricted;
 
 ### safer external commands for Windows in restricted mode
-my $kpsewhich = 'kpsewhich';
+my $kpsewhich = '@KPSEWHICH@';
 if ($restricted && $on_windows) {
   use File::Basename;
   my $mydirname = dirname $0;
