$NetBSD: patch-ah,v 1.1 2009/09/20 03:33:43 minskim Exp $

--- kpsewhere.orig	2006-01-17 13:41:51.000000000 -0800
+++ 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