Subject: Re: Webalizer vs. libdb*
To: Martin Husemann <martin@duskware.de>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 11/13/2007 09:35:15
Martin Husemann wrote:
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/www/webalizer/Makefile,v
> retrieving revision 1.42
> diff -u -r1.42 Makefile
> --- Makefile	22 Feb 2007 19:27:24 -0000	1.42
> +++ Makefile	12 Nov 2007 22:43:40 -0000
> @@ -73,6 +73,10 @@
>  	done;
>  	@${ECHO} "@dirrm ${_DOC_SUBDIR}" >> ${PLIST_ADD};
>  
> +USE_DB185=yes
> +BDB_DEFAULT=db2
> +BDB_ACCEPTED=db1 db2
> +.include "../../mk/bdb.buildlink3.mk"
>  .include "../../devel/gettext-lib/buildlink3.mk"
>  .include "../../graphics/freetype2/buildlink3.mk"
>  .include "../../graphics/gd/buildlink3.mk"

I think BDB_DEFAULT is a user-settable, not a package-settable value, 
and so it shouldn't be set here in the package Makefile.

	Cheers,

	-- Johnny C. Lam