Subject: Re: Webalizer vs. libdb*
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 11/13/2007 15:59:48
On Mon, Nov 12, 2007 at 11:50:35PM +0100, Martin Husemann wrote:
> --- configure.orig	2007-11-12 17:06:30.000000000 +0100
> +++ configure	2007-11-12 17:07:14.000000000 +0100
> @@ -1243,7 +1243,7 @@
>    cat conftest.$ac_ext >&5
>  fi
>  rm -f conftest*
> -test "$ac_cv_search_dbopen" = "no" && for i in db db1; do
> +test "$ac_cv_search_dbopen" = "no" && for i in db db1 db2; do
>  LIBS="-l$i  $ac_func_search_save_LIBS"

Just guessing the $i is not used later, please change this to use
${BDB_LIBS} instead of -l$i and the for loop. You might have to pass
that down via CONFIGURE_ENV.

Joerg