summaryrefslogtreecommitdiff
path: root/mail/avenger/patches/patch-aa
blob: f761410646fb3cc2671a7a388a616c5302a28548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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