7845369aae
incorporated; (b) this now compiles on -current after libdb from databases/db3 was renamed to libdb3; (c) this now compiles on -stable (removed BROKEN since -stable has wchar.h now); and (d) fixed plist.
41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
# This patch makes the following changes:
|
|
#
|
|
# - -ldb -> -ldb3
|
|
# - db3 include files in include/db3, not include
|
|
#
|
|
# As far as I can tell, both of these are FreeBSDisms, so this patch
|
|
# should not be submitted to the vendor.
|
|
|
|
--- ../dist/configure~ Sun Feb 10 23:08:14 2002
|
|
+++ ../dist/configure Sun Feb 10 23:08:11 2002
|
|
@@ -10676,17 +10676,17 @@
|
|
saveLDFLAGS="$LDFLAGS"
|
|
if test "x$with_db3" != "x"; then
|
|
LDFLAGS="-L$with_db3/lib $LDFLAGS"
|
|
- CFLAGS="-I$with_db3/include $CFLAGS"
|
|
+ CFLAGS="-I$with_db3/include/db3 $CFLAGS"
|
|
fi;
|
|
|
|
-echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6
|
|
-echo "configure:10684: checking for db_create in -ldb" >&5
|
|
+echo $ac_n "checking for db_create in -ldb3""... $ac_c" 1>&6
|
|
+echo "configure:10684: checking for db_create in -ldb3" >&5
|
|
ac_lib_var=`echo db'_'db_create | sed 'y%./+-%__p_%'`
|
|
if eval "test \"`echo '$''{'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="-ldb3 $LIBS"
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 10692 "configure"
|
|
#include "confdefs.h"
|
|
@@ -10835,7 +10835,7 @@
|
|
dl_src=../common/dldb.c
|
|
LIBS="-ldl $LIBS"
|
|
else
|
|
- LIBS="-ldb $LIBS"
|
|
+ LIBS="-ldb3 $LIBS"
|
|
if test "X$with_db3" != "X"; then
|
|
LDFLAGS="`echo $with_db3/lib | sed "$LRscript"` $LDFLAGS"
|
|
fi
|