diff options
author | Michael Haro <mharo@FreeBSD.org> | 2000-04-02 03:27:54 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2000-04-02 03:27:54 +0000 |
commit | 57298ea74813e4038ae96cd2196affe69181f9fc (patch) | |
tree | edb4544b269129068fc8927705aaaa1c11d76f9a /net/openldap12/files/patch-db | |
parent | stupid little hack to that links libXaw3d.so.7 to libXaw3d.so.6 when built (diff) |
OpenLDAP to optionally build with BerkleyDB2 and tcp_wrappers
PR: 17136
Submitted by: yds@dppl.com
Notes
Notes:
svn path=/head/; revision=27266
Diffstat (limited to 'net/openldap12/files/patch-db')
-rw-r--r-- | net/openldap12/files/patch-db | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net/openldap12/files/patch-db b/net/openldap12/files/patch-db new file mode 100644 index 000000000000..489f067ffa89 --- /dev/null +++ b/net/openldap12/files/patch-db @@ -0,0 +1,29 @@ +--- configure.orig Mon Jan 17 11:53:36 2000 ++++ configure Thu Mar 2 18:40:40 2000 +@@ -6011,14 +6011,14 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ol_LIBS="$LIBS" +- echo $ac_n "checking for db_open in -ldb""... $ac_c" 1>&6 +-echo "configure:6016: checking for db_open in -ldb" >&5 ++ echo $ac_n "checking for db_open in -ldb2""... $ac_c" 1>&6 ++echo "configure:6016: checking for db_open in -ldb2" >&5 + ac_lib_var=`echo db'_'db_open | sed 'y%./+-:%__p__%'` + if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ldb $LIBS" ++LIBS="-ldb2 $LIBS" + cat > conftest.$ac_ext <<EOF + #line 6024 "configure" + #include "confdefs.h" +@@ -6046,7 +6046,7 @@ + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- ol_cv_lib_db2=-ldb ++ ol_cv_lib_db2=-ldb2 + else + echo "$ac_t""no" 1>&6 + ol_cv_lib_db2=no |