diff options
author | martin <martin@pkgsrc.org> | 2007-11-16 11:50:48 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2007-11-16 11:50:48 +0000 |
commit | d32304c21dc09b574b7bd998ec31a5574426faab (patch) | |
tree | 13badd44e90edb2311a33f8d90d184c8b4bfb307 /www/webalizer/patches | |
parent | 44e031aba145eb1188b7b0ef6fa90d8d36d25cb3 (diff) | |
download | pkgsrc-d32304c21dc09b574b7bd998ec31a5574426faab.tar.gz |
The pkg did not fully work on archs with no db1 builtin, as discussed
on tech-pkg. Thanks to various people for all the input.
Diffstat (limited to 'www/webalizer/patches')
-rw-r--r-- | www/webalizer/patches/patch-af | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/www/webalizer/patches/patch-af b/www/webalizer/patches/patch-af new file mode 100644 index 00000000000..84fb7e9310b --- /dev/null +++ b/www/webalizer/patches/patch-af @@ -0,0 +1,24 @@ +$NetBSD: patch-af,v 1.1 2007/11/16 11:50:49 martin Exp $ + +--- configure.orig 2007-11-16 11:46:40.000000000 +0100 ++++ configure 2007-11-16 11:49:51.000000000 +0100 +@@ -1243,8 +1243,8 @@ + cat conftest.$ac_ext >&5 + fi + rm -f conftest* +-test "$ac_cv_search_dbopen" = "no" && for i in db db1; do +-LIBS="-l$i $ac_func_search_save_LIBS" ++if test "$ac_cv_search_dbopen" = "no"; then ++LIBS="${BDB_LIBS} $ac_func_search_save_LIBS" + cat > conftest.$ac_ext <<EOF + #line 1250 "configure" + #include "confdefs.h" +@@ -1266,7 +1266,7 @@ + cat conftest.$ac_ext >&5 + fi + rm -f conftest* +-done ++fi + LIBS="$ac_func_search_save_LIBS" + fi + |