diff options
Diffstat (limited to 'net/netatalk/files/patch-configure.in')
-rw-r--r-- | net/netatalk/files/patch-configure.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/netatalk/files/patch-configure.in b/net/netatalk/files/patch-configure.in new file mode 100644 index 000000000000..021e9fe9323f --- /dev/null +++ b/net/netatalk/files/patch-configure.in @@ -0,0 +1,25 @@ +--- configure.in.orig Sat Sep 1 19:32:49 2001 ++++ configure.in Sat Sep 1 19:34:07 2001 +@@ -262,18 +262,18 @@ + db3_found=no + for db3dir in "" $trydb3dir /usr /usr /usr/local ; do + if test -f "$db3dir/include/db3/db.h" ; then +- LDFLAGS="$LDFLAGS -L$db3dir/lib -L$db3dir" +- CFLAGS="$CFLAGS -I$db3dir/include" ++ LDFLAGS="$LDFLAGS -L$db3dir/lib" ++ CFLAGS="$CFLAGS -I$db3dir/include/db3" + + dnl If we require DB3, die if we don't have it + if test "x$db3_required" != "xno"; then +- AC_CHECK_LIB(db, main, ++ AC_CHECK_LIB(db3, main, + dnl AC_MSG_RESULT([enabling db3 support]) + db3_found=yes + dnl -- also enable CNID DB when this is found + AC_DEFINE(CNID_DB, 1) + AC_MSG_RESULT([using persistent cnid database per volume]) +- LIBS="$LIBS -ldb", ++ LIBS="$LIBS -ldb3", + dnl Not Found + AC_MSG_ERROR([Berkeley DB3 library not found!]) + ) |