diff options
author | jlam <jlam@pkgsrc.org> | 2005-09-03 03:21:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-09-03 03:21:23 +0000 |
commit | 6b4ddbe438f2679b7b44af78706d52de442f04ea (patch) | |
tree | 8b0b4f08a603215909ab2e9e6a287f062d364cb1 /mail/mutt-devel/patches | |
parent | 2cfc68952a264800fba842cbd5131049c163156b (diff) | |
download | pkgsrc-6b4ddbe438f2679b7b44af78706d52de442f04ea.tar.gz |
Fix detection of Berkeley db4 if /usr/include/db.h exists and happens
to pass mutt's weak configure tests. Fixes build with the "mutt-hcache"
option on FreeBSD-4.
Diffstat (limited to 'mail/mutt-devel/patches')
-rw-r--r-- | mail/mutt-devel/patches/patch-al | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/mutt-devel/patches/patch-al b/mail/mutt-devel/patches/patch-al new file mode 100644 index 00000000000..6a1134fac13 --- /dev/null +++ b/mail/mutt-devel/patches/patch-al @@ -0,0 +1,22 @@ +$NetBSD: patch-al,v 1.3 2005/09/03 03:21:23 jlam Exp $ + +--- configure.orig Sun Mar 13 16:36:32 2005 ++++ configure +@@ -14107,6 +14107,7 @@ if test "${with_bdb+set}" = set; then + withval="$with_bdb" + ac_bdb_prefix=$withval + fi; ++ if test x$BDB_INCLUDE_DIR = x -o test x$BDB_LIB_DIR = x -o test x$BDB_LIB = x; then + if test x$ac_bdb_prefix != xno -a x$ac_cv_gdbmopen != xyes; then + test x$ac_bdb_prefix = xyes && ac_bdb_prefix="$mutt_cv_prefix /opt/csw/bdb4 /opt /usr/local /usr" + for d in $ac_bdb_prefix; do +@@ -14198,6 +14199,9 @@ echo "${ECHO_T}yes" >&6 + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi ++ fi ++ else ++ ac_cv_dbcreate=yes + fi + + if test x$ac_cv_gdbmopen = xyes; then |