aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-02-15 02:14:26 +0800
committerdinoex <dinoex@FreeBSD.org>2004-02-15 02:14:26 +0800
commit0af8b1bb281ef86bc3aa6c84ce60c76562111f5d (patch)
tree67283f30bcaafb53d6217d6bf3ebee523af58c42 /dns
parent9ebda9f7540a5528b8c94c2d82136dbcb27e6e04 (diff)
downloadfreebsd-ports-gnome-0af8b1bb281ef86bc3aa6c84ce60c76562111f5d.tar.gz
freebsd-ports-gnome-0af8b1bb281ef86bc3aa6c84ce60c76562111f5d.tar.zst
freebsd-ports-gnome-0af8b1bb281ef86bc3aa6c84ce60c76562111f5d.zip
- add support for BerkleyDB42
Submitted by: Michael Schout
Diffstat (limited to 'dns')
-rw-r--r--dns/bind9-dlz/files/configure.bind9-dlz6
-rw-r--r--dns/bind9-dlz/files/patch-configure34
2 files changed, 40 insertions, 0 deletions
diff --git a/dns/bind9-dlz/files/configure.bind9-dlz b/dns/bind9-dlz/files/configure.bind9-dlz
index 8aca828c9cb2..8e38f30b16af 100644
--- a/dns/bind9-dlz/files/configure.bind9-dlz
+++ b/dns/bind9-dlz/files/configure.bind9-dlz
@@ -21,6 +21,7 @@ OpenLDAP20 "OpenLDAP 2.0 backend" OFF \
OpenLDAP21 "OpenLDAP 2.1 backend" OFF \
OpenLDAP22 "OpenLDAP 2.2 backend" OFF \
BerkleyDB41 "BerkleyDB 4.1 backend" OFF \
+BerkleyDB42 "BerkleyDB 4.2 backend" OFF \
FileSystem "Filesystem driver" ON \
Stub "Stub driver" OFF \
2> /tmp/checklist.tmp.$$
@@ -82,6 +83,11 @@ while [ "$1" ]; do
echo BERKLEYDB_LIB?=db41.1
echo BERKLEYDB_PORT?=databases/db41
;;
+ \"BerkleyDB42\")
+ echo WITH_BERKLEYDB_DRIVER=YES
+ echo BERKLEYDB_LIB?=db4-2.1
+ echo BERKLEYDB_PORT?=databases/db42
+ ;;
\"FileSystem\")
echo WITH_FILESYSTEM_DRIVER=YES
;;
diff --git a/dns/bind9-dlz/files/patch-configure b/dns/bind9-dlz/files/patch-configure
new file mode 100644
index 000000000000..701ccc607ad3
--- /dev/null
+++ b/dns/bind9-dlz/files/patch-configure
@@ -0,0 +1,34 @@
+--- configure.orig Wed Feb 11 01:19:46 2004
++++ configure Wed Feb 11 01:20:41 2004
+@@ -2441,7 +2441,7 @@
+ DLZ_BDB_LIB="yes"
+
+ # check other locations for includes.
+- bdb_incdirs="/ /db41/ /db4/ /db/"
++ bdb_incdirs="/ /db42/ /db41/ /db4/ /db/"
+ for d in $bdb_incdirs
+ do
+ if test -f $use_dlz_bdb/include${d}db.h
+@@ -2455,11 +2455,11 @@
+ then
+ echo "$ac_t""not found" 1>&6
+ { echo "configure: error: Berkeley DB header was not found in $use_dlz_bdb/include, \
+-$use_dlz_bdb/include/db41, $use_dlz_bdb/include/db4 or $use_dlz_bdb/include/db" 1>&2; exit 1; }
++$use_dlz_bdb/include/db42 $use_dlz_bdb/include/db41, $use_dlz_bdb/include/db4 or $use_dlz_bdb/include/db" 1>&2; exit 1; }
+ fi
+
+ # look for libname other than libdb.so
+- bdb_libnames="db41 db-4.1 db"
++ bdb_libnames="db-4.2 db41 db-4.1 db"
+ for d in $bdb_libnames
+ do
+ if test -f $use_dlz_bdb/lib/lib${d}.so
+@@ -2471,7 +2471,7 @@
+ if test "$DLZ_BDB_LIB" = "yes"
+ then
+ echo "$ac_t""not found" 1>&6
+- { echo "configure: error: Berkeley DB library libdb41.so, libdb-4.1.so or libdb.so could not be found \
++ { echo "configure: error: Berkeley DB library libdb-4.2.so libdb41.so, libdb-4.1.so or libdb.so could not be found \
+ in $use_dlz_bdb/lib" 1>&2; exit 1; }
+ fi
+