aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2011-05-23 20:09:06 +0800
committermandree <mandree@FreeBSD.org>2011-05-23 20:09:06 +0800
commit7b9c4451e401d66b7f42b9162f0654ed2cbc1668 (patch)
tree91561a4952a33d368d154e6fb912ad7612626cd0
parent4da18e1d34d9a8e24284603adf5b5d18945c6633 (diff)
downloadfreebsd-ports-gnome-7b9c4451e401d66b7f42b9162f0654ed2cbc1668.tar.gz
freebsd-ports-gnome-7b9c4451e401d66b7f42b9162f0654ed2cbc1668.tar.zst
freebsd-ports-gnome-7b9c4451e401d66b7f42b9162f0654ed2cbc1668.zip
Remove databases/db3. All users were using db3+
and have in fact been using 4.0+ since 2011-04-12 (Mk/bsd.database.mk r1.57). Chase upgrade in dependent ports and change USE_BDB to 40+.
-rw-r--r--MOVED1
-rw-r--r--Mk/bsd.database.mk4
-rw-r--r--databases/Makefile1
-rw-r--r--databases/db3/Makefile76
-rw-r--r--databases/db3/distinfo6
-rw-r--r--databases/db3/files/patch-dist__Makefile.in139
-rw-r--r--databases/db3/files/patch-dist__configure38
-rw-r--r--databases/db3/pkg-descr13
-rw-r--r--databases/db3/pkg-plist31
-rw-r--r--databases/rdfdb/Makefile2
-rw-r--r--mail/cyrus-imapd2/Makefile8
-rw-r--r--mail/spamprobe/Makefile3
-rw-r--r--ports-mgmt/pver/Makefile2
-rw-r--r--www/squidguard/Makefile2
14 files changed, 10 insertions, 316 deletions
diff --git a/MOVED b/MOVED
index d2c6d6e0a3f9..9fa8207eca33 100644
--- a/MOVED
+++ b/MOVED
@@ -2183,3 +2183,4 @@ barnyard-sguil|barnyard2-sguil|2011-05-15|barnyard2 has build in sguil support
multimedia/rebot3||2011-05-16|Removed
devel/tcl-neo||2011-05-22|Removed: deprecated and no maintainer interest.
www/neowebscript||2011-05-22|Removed: deprecated and no maintainer interest.
+databases/db3||2011-05-23|Removed: all users set USE_BDB=3+ and have been using 4.0+.
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index 100099535ba9..65d386aa399d 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -230,9 +230,8 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.if defined(USE_BDB)
-_DB_PORTS= 3 40 41 42 43 44 45 46 47 48 51 3+ 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ 48+ 51+
+_DB_PORTS= 40 41 42 43 44 45 46 47 48 51 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ 48+ 51+
# Dependence lines for different db versions
-db3_DEPENDS= db3.3:${PORTSDIR}/databases/db3
db40_DEPENDS= db4.0:${PORTSDIR}/databases/db4
db41_DEPENDS= db41.1:${PORTSDIR}/databases/db41
db42_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42
@@ -256,7 +255,6 @@ db48_FIND= ${LOCALBASE}/include/db48/db.h
db51_FIND= ${LOCALBASE}/include/db51/db.h
# For specifying [40, 41, ..]+
-_DB_3P= ${_DB_40P}
_DB_40P= 40 ${_DB_41P}
_DB_41P= 41 ${_DB_42P}
_DB_42P= 42 ${_DB_43P}
diff --git a/databases/Makefile b/databases/Makefile
index 17b14c979634..e7f18b74f6b4 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -32,7 +32,6 @@
SUBDIR += cyrus-imspd
SUBDIR += dalmp
SUBDIR += db
- SUBDIR += db3
SUBDIR += db4
SUBDIR += db41
SUBDIR += db41-nocrypto
diff --git a/databases/db3/Makefile b/databases/db3/Makefile
deleted file mode 100644
index 236fb95fec9a..000000000000
--- a/databases/db3/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-# ports collection makefile for: Berkeley DB v3
-# Date created: 16 August 2000
-# Whom: Sergey Osokin aka oZZ <osa@FreeBSD.org.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= db3
-PORTVERSION= 3.3.11
-PORTREVISION= 3
-PORTEPOCH?= 1
-CATEGORIES= databases
-MASTER_SITES= http://download.oracle.com/berkeley-db/
-DISTNAME= db-${PORTVERSION}
-DIST_SUBDIR= bdb
-
-PATCH_SITES= http://download.oracle.com/berkeley-db/patches/db/${PORTVERSION}/
-PATCHFILES= patch.${PORTVERSION}.1 patch.${PORTVERSION}.2
-
-MAINTAINER= mandree@FreeBSD.org
-COMMENT= The Berkeley DB package, revision 3.3
-
-PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
-WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
-
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-MAKE_JOBS_SAFE= yes
-CONFIGURE_SCRIPT= ../dist/configure
-LIBTOOLFILES= ${CONFIGURE_SCRIPT}
-CONFIGURE_ARGS= --enable-compat185 \
- --enable-dump185 --enable-cxx \
- --enable-dynamic \
- --prefix=${PREFIX} \
- --includedir=${PREFIX}/include/db3
-INSTALL_TARGET= install_include install_lib install_utilities
-.if !defined(NOPORTDOCS)
-INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
-PORTDOCS= *
-.endif
-
-.if defined(WITH_TCL_VER) && !defined(WITH_TCL)
-WITH_TCL:= yes
-.endif
-
-.if defined(WITH_TCL)
-USE_TCL= 83+
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_TCL)
-CONFIGURE_ARGS+= --enable-tcl --with-tcl=${TCL_LIBDIR}
-PLIST_SUB+= WITHTCL=""
-.else
-PLIST_SUB+= WITHTCL="@comment "
-.endif
-
-pre-patch:
- @${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-
-post-patch:
- @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure
-
-post-configure:
-.if defined(WITH_TCL)
- @${REINPLACE_CMD} -e "s|TCFLAGS=.*|TCFLAGS=-I${TCL_INCLUDEDIR} -L${TCL_LIBDIR}|g" ${WRKSRC}/Makefile
-.endif
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${RMDIR} ${DOCSDIR}/ref/splash
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/databases/db3/distinfo b/databases/db3/distinfo
deleted file mode 100644
index 4fd256951b1f..000000000000
--- a/databases/db3/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-SHA256 (bdb/db-3.3.11.tar.gz) = ac911bdd336a33aa4ced298aa3862cd317cbd372a20bbce9f65d0c21adea94fd
-SIZE (bdb/db-3.3.11.tar.gz) = 2343243
-SHA256 (bdb/patch.3.3.11.1) = 10f32fc6b0d7814c44bf06a69ee2ec99b524aa5b1ac761a739e58619df2f1c1e
-SIZE (bdb/patch.3.3.11.1) = 2601
-SHA256 (bdb/patch.3.3.11.2) = 1395a93ea16a83af6c538140c9e2672261709b4f904206f2c54dedb55c7ef122
-SIZE (bdb/patch.3.3.11.2) = 325
diff --git a/databases/db3/files/patch-dist__Makefile.in b/databases/db3/files/patch-dist__Makefile.in
deleted file mode 100644
index 22554a281660..000000000000
--- a/databases/db3/files/patch-dist__Makefile.in
+++ /dev/null
@@ -1,139 +0,0 @@
---- ./dist/Makefile.in.orig 2001-07-06 22:53:16.000000000 +0200
-+++ ./dist/Makefile.in 2011-03-21 18:22:00.000000000 +0100
-@@ -61,12 +61,12 @@
- LIBSO_LIBS= @LIBSO_LIBS@
-
- libdb= libdb.a
--libso_base= libdb
--libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
--libso_static= $(libso_base)-$(SOVERSION).a
--libso_target= $(libso_base)-$(SOVERSION).la
-+libso_base= libdb$(SOMAJOR)
-+libso= $(libso_base).@SOSUFFIX@
-+libso_static= $(libso_base).a
-+libso_target= $(libso_base).la
- libso_default= $(libso_base).@SOSUFFIX@
--libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
-+libso_major= $(libso_base).@SOSUFFIX@.3
-
- ##################################################
- # C++ API.
-@@ -78,13 +78,13 @@
- CXXLINK= @MAKEFILE_CXXLINK@
- LIBXSO_LIBS= @LIBXSO_LIBS@
-
--libcxx= libdb_cxx.a
--libxso_base= libdb_cxx
--libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
--libxso_static= $(libxso_base)-$(SOVERSION).a
--libxso_target= $(libxso_base)-$(SOVERSION).la
-+libcxx= libdb3_cxx.a
-+libxso_base= libdb3_cxx
-+libxso= $(libxso_base).@SOSUFFIX@
-+libxso_static= $(libxso_base).a
-+libxso_target= $(libxso_base).la
- libxso_default= $(libxso_base).@SOSUFFIX@
--libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
-+libxso_major= $(libxso_base).@SOSUFFIX@.3
-
- ##################################################
- # Java API.
-@@ -239,8 +239,8 @@
- perf_util@o@
-
- UTIL_PROGS=\
-- @ADDITIONAL_PROGS@ db_archive db_checkpoint db_deadlock \
-- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify
-+ @ADDITIONAL_PROGS@ db3_archive db3_checkpoint db3_deadlock \
-+ db3_dump db3_load db3_printlog db3_recover db3_stat db3_upgrade db3_verify
-
- ##################################################
- # We're building a standard library or a RPM file hierarchy, potentially
-@@ -298,53 +298,53 @@
- $(RPC_SRV_OBJS) util_log@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
-+db3_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) \
- db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
-+db3_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) \
- db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
-+db3_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) \
- db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_dump: db_dump@o@ util_sig@o@ $(DEF_LIB)
-+db3_dump: db_dump@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_dump185: db_dump185@o@ @LIBOBJS@
-+db3_dump185: db_dump185@o@ @LIBOBJS@
- $(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LIBOBJS@ $(DB185LIB)
- $(POSTLINK) $@
-
--db_load: db_load@o@ util_sig@o@ $(DEF_LIB)
-+db3_load: db_load@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
-+db3_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) \
- db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
-+db3_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) \
- db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_stat: db_stat@o@ util_sig@o@ $(DEF_LIB)
-+db3_stat: db_stat@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
-+db3_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) \
- db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-
--db_verify: db_verify@o@ util_sig@o@ $(DEF_LIB)
-+db3_verify: db_verify@o@ util_sig@o@ $(DEF_LIB)
- $(CCLINK) -o $@ $(LDFLAGS) \
- db_verify@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
- $(POSTLINK) $@
-@@ -401,10 +401,8 @@
- @cd $(libdir) && $(rm) -f \
- $(libso) $(libso_target) $(libso_default) $(libso_major)
- @$(INSTALLER) $(libso_target) $(libdir)
-- @cd $(libdir) && $(ln) -s $(libso) $(libso_default)
-- @cd $(libdir) && $(ln) -s $(libso) $(libso_major)
- @$(LIBTOOL) --mode=finish $(libdir)
-- @cd $(libdir) && $(chmod) $(fmode) $(libso) $(libso_target)
-+ @cd $(libdir) && $(chmod) $(fmode) $(libso)
-
- install_static_cxx:
- @echo "Installing DB C++ static library: $(libdir) ..."
-@@ -421,9 +419,7 @@
- @cd $(libdir) && $(rm) -f \
- $(libxso) $(libxso_target) $(libxso_default) $(libxso_major)
- @$(INSTALLER) $(libxso_target) $(libdir)
-- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_default)
-- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_major)
-- @cd $(libdir) && $(chmod) $(fmode) $(libxso) $(libxso_target)
-+ @cd $(libdir) && $(chmod) $(fmode) $(libxso)
-
- install_tcl:
- @echo "Installing DB Tcl library: $(libdir) ..."
diff --git a/databases/db3/files/patch-dist__configure b/databases/db3/files/patch-dist__configure
deleted file mode 100644
index 6cd5f33da99d..000000000000
--- a/databases/db3/files/patch-dist__configure
+++ /dev/null
@@ -1,38 +0,0 @@
---- ./dist/configure.orig 2011-03-21 18:22:00.000000000 +0100
-+++ ./dist/configure 2011-03-21 18:22:00.000000000 +0100
-@@ -7002,7 +7002,7 @@
- ;;
-
- freebsd*)
-- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
-+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
-@@ -8449,7 +8449,7 @@
- MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${SAVE_CC}"
- MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${SAVE_CXX}"
-
--SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
-+SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -version-info ${DB_VERSION_MINOR}"
- INSTALLER="\$(LIBTOOL) --mode=install cp"
-
- # Configure for shared libraries, static libraries, or both. If both are
-@@ -8728,7 +8728,7 @@
- done
- JTOPDIR=`echo "$JAVACABS" | sed -e 's://*:/:g' -e 's:/[^/]*$::'`
- case "$host_os" in
-- darwin*) JTOPDIR=`echo "$JTOPDIR" | sed -e s:/[^/]*$::'`
-+ darwin*) JTOPDIR=`echo "$JTOPDIR" | sed -e 's:/[^/]*$::'`
- JNIHEADERDIR="$JTOPDIR/Headers";;
- *) JNIHEADERDIR="$JTOPDIR/include";;
- esac
-@@ -9100,7 +9100,7 @@
-
- # Optional utilities.
- if test "$db_cv_dump185" = "yes"; then
-- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
-+ ADDITIONAL_PROGS="db3_dump185 $ADDITIONAL_PROGS"
- fi
-
- # test servers, example programs.
diff --git a/databases/db3/pkg-descr b/databases/db3/pkg-descr
deleted file mode 100644
index 24a8d513cef3..000000000000
--- a/databases/db3/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-Version 3 of the Berkeley DB library. This version uses an underlying
-database format incompatible with revision 1 and a different standard API.
-Utilities are included in the distribution to convert v1.85 databases to v3
-databases, and a backwards compatible API is provided to maintain
-compatibility with programs using the v1.85 interface.
-
-There are minor interface changes in this release which may require that DB
-applications be modified and recompiled. For a complete discussion of
-interface changes, see:
-
-http://www.sleepycat.com/update/
-
-WWW: http://www.oracle.com/us/products/database/berkeley-db/db/
diff --git a/databases/db3/pkg-plist b/databases/db3/pkg-plist
deleted file mode 100644
index 884761a50242..000000000000
--- a/databases/db3/pkg-plist
+++ /dev/null
@@ -1,31 +0,0 @@
-bin/db3_archive
-bin/db3_checkpoint
-bin/db3_deadlock
-bin/db3_dump
-bin/db3_dump185
-bin/db3_load
-bin/db3_printlog
-bin/db3_recover
-bin/db3_stat
-bin/db3_upgrade
-bin/db3_verify
-include/db3/cxx_common.h
-include/db3/cxx_except.h
-include/db3/db.h
-include/db3/db_185.h
-include/db3/db_cxx.h
-lib/libdb3.a
-lib/libdb3.la
-lib/libdb3.so
-lib/libdb3.so.3
-lib/libdb3_cxx.a
-lib/libdb3_cxx.la
-lib/libdb3_cxx.so
-lib/libdb3_cxx.so.3
-%%WITHTCL%%lib/libdb_tcl-3.3.a
-%%WITHTCL%%lib/libdb_tcl-3.3.la
-%%WITHTCL%%lib/libdb_tcl-3.3.so
-%%WITHTCL%%lib/libdb_tcl-3.3.so.3
-%%WITHTCL%%lib/libdb_tcl.so
-%%WITHTCL%%lib/libdb_tcl-3.so
-@dirrm include/db3
diff --git a/databases/rdfdb/Makefile b/databases/rdfdb/Makefile
index 78dfffd715da..9f60274d7849 100644
--- a/databases/rdfdb/Makefile
+++ b/databases/rdfdb/Makefile
@@ -15,7 +15,7 @@ DISTNAME= rdfdb_src
MAINTAINER= ports@FreeBSD.org
COMMENT= A lightweight RDF database
-USE_BDB= 3+
+USE_BDB= 40+
INVALID_BDB_VER=2
WRKSRC= ${WRKDIR}/rdfdb
diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile
index 657d25d56c65..d2a3c4bd72c5 100644
--- a/mail/cyrus-imapd2/Makefile
+++ b/mail/cyrus-imapd2/Makefile
@@ -46,12 +46,12 @@ CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
.if defined(WITH_BDB_VER)
USE_BDB_VER= ${WITH_BDB_VER}
.else
-USE_BDB_VER= 3
+USE_BDB_VER= 41
.endif
.if ${USE_BDB_VER} == 4
USE_BDB= 40
-.elif ${USE_BDB_VER} != 3 && ${USE_BDB_VER} != 41
-IGNORE= "cannot install: WITH_BDB_VER must be 3, 4 or 41"
+.elif ${USE_BDB_VER} != 41
+IGNORE= "cannot install: WITH_BDB_VER must be 4 or 41"
.endif
USE_BDB?= ${USE_BDB_VER}
CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db${USE_BDB_VER} \
@@ -112,7 +112,7 @@ pre-everything::
${ECHO_MSG} "It seems you have installed newer db than db3. If"; \
${ECHO_MSG} "you are using newer db for cyrus-sasl2, you should"; \
${ECHO_MSG} "specify same version by WITH_BDB_VER. For"; \
- ${ECHO_MSG} "exapmle, WITH_BDB_VER=4 for db4."; \
+ ${ECHO_MSG} "example, WITH_BDB_VER=41 for db41."; \
${ECHO_MSG} ""; \
fi
.endif
diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile
index 5f78fa300d2f..960e7db19838 100644
--- a/mail/spamprobe/Makefile
+++ b/mail/spamprobe/Makefile
@@ -38,8 +38,7 @@ LDFLAGS+= -L${LOCALBASE}/lib -lpbl
# BerkleyDB support
.if !defined(WITHOUT_BDB)
-USE_BDB= 3+
-INVALID_BDB_VER=2
+USE_BDB= 40+
CONFIGURE_ARGS+= --enable-cdb
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -DUSE_DB=1
LDFLAGS+= -L${LOCALBASE}/lib -l${BDB_LIB_NAME}
diff --git a/ports-mgmt/pver/Makefile b/ports-mgmt/pver/Makefile
index 6717066bfb1d..02dd4418d0b8 100644
--- a/ports-mgmt/pver/Makefile
+++ b/ports-mgmt/pver/Makefile
@@ -37,7 +37,7 @@ MAKE_ARGS+= -DSORT
.if defined(WITH_DB185)
MAKE_ARGS+= -DBSD_DB
.else
-USE_BDB= 3+
+USE_BDB= 40+
INVALID_BDB_VER=51
MAKE_ARGS+= BDB_VER=${BDB_VER} BDB_LIB_DIR=${BDB_LIB_DIR}
.endif
diff --git a/www/squidguard/Makefile b/www/squidguard/Makefile
index 95d54abd2f02..e53dbfbc37a7 100644
--- a/www/squidguard/Makefile
+++ b/www/squidguard/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid
-USE_BDB= 3+
+USE_BDB= 40+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-db-inc=${BDB_INCLUDE_DIR} \
--with-db-lib=${BDB_LIB_DIR} \