$OpenBSD: patch-configure,v 1.2 2011/05/30 11:04:14 shadchin Exp $ Remove $latexdir here, so it's possible to set it with kpsewhich(1), as intended. --- configure.orig Fri May 27 11:32:57 2011 +++ configure Sat May 28 18:08:32 2011 @@ -3794,7 +3794,6 @@ $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_File"\" = x"yes"; then : else - latexdir=/usr/share/texmf/tex/latex as_ac_File=`$as_echo "ac_cv_file_$latexdir/base/latex.ltx" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $latexdir/base/latex.ltx" >&5 $as_echo_n "checking for $latexdir/base/latex.ltx... " >&6; }