$OpenBSD: patch-configure_ac,v 1.2 2010/08/22 06:56:25 ajacoutot Exp $
--- configure.ac.orig	Tue Aug 10 12:08:03 2010
+++ configure.ac	Sun Aug 22 07:15:56 2010
@@ -42,8 +42,8 @@ AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([dup2 getcwd gethostname regcomp setenv strcasecmp strchr strcspn strdup strncasecmp strndup strrchr strstr strcasestr strtol])
 
 
-ETCSEARCHPATH=${prefix}/etc:/usr/etc:/usr/local/etc
-LIBSEARCHPATH=${prefix}/lib:${prefix}/lib64:/usr/lib:/usr/lib64:/usr/local/lib:${prefix}/libexec:/usr/libexec:/usr/local/libexec
+ETCSEARCHPATH=${SYSCONFDIR}
+LIBSEARCHPATH=${LOCALBASE}/lib:/usr/lib:${LOCALBASE}/libexec:/usr/libexec
 
 uname=`uname`
 uversion=`uname -r | sed -e '1,$s/[[^0-9]]//g'`
