
$FreeBSD: ports/devel/gconf2/files/patch-configure,v 1.7 2003/02/07 18:42:02 marcus Exp $

--- configure.orig	Fri Apr 26 12:18:08 2002
+++ configure	Fri Apr 26 12:18:36 2002
@@ -6797,6 +6797,7 @@
 
 # This can be used to rebuild libtool when needed
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
 
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -7513,7 +7514,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-	    for db3libs in "-ldb-3.3" "-ldb-3.2" "-ldb-3.1" "-ldb-3"; do
+	    for db3libs in "-ldb-3.3" "-ldb-3.2" "-ldb-3.1" "-ldb-3" "-ldb3"; do
 		if test "x${with_db3_libs}" != "x"; then
 			LIBS="$LIBS -L$with_db3_libs $db3libs"
 		else
