pkgsrc/mail/avenger/patches/patch-aa
adam 5722f491ca Changes 0.8.2:
* Look for BerkeleyDB in more places for Debian.
* Fix a few compiler warnings to deal with gcc 4.6.
* Update to newer version numbers of BerkeleyDB.
2012-01-18 14:32:10 +00:00

17 lines
761 B
Text

$NetBSD: patch-aa,v 1.3 2012/01/18 14:32:10 adam Exp $
--- configure.orig 2012-01-12 15:53:35.000000000 +0000
+++ configure
@@ -18863,9 +18863,9 @@ test -z "${with_db+set}" && with_db=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BerkeleyDB library" >&5
$as_echo_n "checking for BerkeleyDB library... " >&6; }
-if test "$DB_DIR" -a "$with_db" = yes; then
- CPPFLAGS="$CPPFLAGS "'-I$(top_builddir)/'"$DB_DIR/dist"
- DB_LIB='$(top_builddir)/'"$DB_DIR/dist/.libs/libdb-*.a"
+if true; then
+ DB_DIR="${prefix}"
+ DB_LIB="-l${BDB_TYPE}"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using distribution in $DB_DIR subdirectory" >&5
$as_echo "using distribution in $DB_DIR subdirectory" >&6; }
elif test x"$with_db" != xno; then