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

--- bin/kpsewhere.orig	2012-10-09 17:39:16.000000000 +0000
+++ bin/kpsewhere
@@ -55,9 +55,9 @@ esac
 IFS=':'
 for file
 do
-    for path in `kpsewhich --expand-path='$TEXMF'`
+    for path in `@KPSEWHICH@ --expand-path='$TEXMF'`
     do
-        eval TEXMF=\$path kpsewhich $options \"\$file\"
+        eval TEXMF=\$path @KPSEWHICH@ $options \"\$file\"
     done
 done
 exit 0
