$NetBSD: patch-ai,v 1.3 2001/03/24 22:47:59 wrstuden Exp $
--- configure.orig	Tue May  9 14:46:48 2000
+++ configure	Fri Mar 23 08:37:24 2001
@@ -2199,7 +2199,7 @@
 
 
 
-libs="-ldl -lz -lHermes -lpthread"
+libs="-lz -lHermes -lpthread"
 
 objf_nondyn=""
 flag_tty=""
@@ -2217,7 +2217,6 @@
 	if test "$flag_tty" = "yes"; then objf_nondyn="\$(OBJF_INPUT_TTY) $objf_nondyn"; fi
 fi
 
-x_libraries="$x_libraries -lXxf86vm"
 
 
 
@@ -2328,6 +2327,9 @@
 fi
 if test -x /usr/bin/perl; then
 	perl_exec="/usr/bin/perl"
+fi
+if test -x /usr/pkg/bin/perl; then
+	perl_exec="/usr/pkg/bin/perl"
 fi
 if test -x /usr/local/bin/perl; then
 	perl_exec="/usr/local/bin/perl"
