summaryrefslogtreecommitdiff
path: root/net/netatalk/files/patch-configure
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-06-14 02:59:30 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-06-14 02:59:30 +0000
commit8b0834a81a687576d26a11ffda1eb701f6a5388f (patch)
tree35eaf5c9ce7c42d7af3e7236d4a608bd75cfc74d /net/netatalk/files/patch-configure
parentUpdate to 3.6.4. (diff)
Update to 2.0.4.
PR: 135319 Submitted by: Wang Lam <wlam+fbd@blanksquare.net> (based on)
Notes
Notes: svn path=/head/; revision=235802
Diffstat (limited to 'net/netatalk/files/patch-configure')
-rw-r--r--net/netatalk/files/patch-configure87
1 files changed, 10 insertions, 77 deletions
diff --git a/net/netatalk/files/patch-configure b/net/netatalk/files/patch-configure
index c045ceab4ff0..604ea5d50c28 100644
--- a/net/netatalk/files/patch-configure
+++ b/net/netatalk/files/patch-configure
@@ -1,78 +1,11 @@
---- configure.orig Tue May 17 18:14:29 2005
-+++ configure Sun Oct 8 14:47:02 2006
-@@ -15057,7 +15057,7 @@ if test "x$bdb_required" = "xyes"; then
- trybdbdir=""
- dobdbsearch=yes
- bdb_search_dirs="/usr/local/include /usr/include"
-- search_subdirs="/db4.2 /db42 /db4.1 /db41 /db4 /"
-+ search_subdirs="/%%DB_NAME%% /db4.2 /db42 /db4.1 /db41 /db4 /"
+--- configure.orig 2009-03-29 03:24:33.000000000 -0400
++++ configure 2009-06-13 22:52:07.000000000 -0400
+@@ -30193,7 +30193,7 @@ if test "x$bdb_required" = "xyes"; then
+ trybdbdir=""
+ dobdbsearch=yes
+ bdb_search_dirs="/usr/local /usr"
+- search_subdirs="/ /db4.7 /db47 /db4.6 /db46 /db4.5 /db45 /db4.4 /db44 /db4.3 /db43 /db4.2 /db42 /db4.1 /db41 /db4"
++ search_subdirs="/%%DB_NAME%% / /db4.7 /db47 /db4.6 /db46 /db4.5 /db45 /db4.4 /db44 /db4.3 /db43 /db4.2 /db42 /db4.1 /db41 /db4"
- DB_MAJOR_REQ=4
- DB_MINOR_REQ=1
-@@ -15198,6 +15198,66 @@ echo "${ECHO_T}yes" >&6
- LDFLAGS="-L$bdblibdir $LDFLAGS"
-
- atalk_cv_lib_db=no
-+if test $atalk_cv_lib_db = no ; then
-+ echo "$as_me:$LINENO: checking for Berkeley DB link (%%DB_LIB%%)" >&5
-+echo $ECHO_N "checking for Berkeley DB link (%%DB_LIB%%)... $ECHO_C" >&6
-+ atalk_DB_LIB=%%DB_LIB%%
-+ atalk_LIBS=$LIBS
-+ LIBS="$atalk_DB_LIB $LIBS"
-+
-+ cat >conftest.$ac_ext <<_ACEOF
-+#line $LINENO "configure"
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
-+/* end confdefs.h. */
-+
-+#include <db.h>
-+
-+int
-+main ()
-+{
-+
-+ char *version;
-+ int major, minor, patch;
-+
-+ version = db_version( &major, &minor, &patch );
-+ return (0);
-+
-+ ;
-+ return 0;
-+}
-+_ACEOF
-+rm -f conftest.$ac_objext conftest$ac_exeext
-+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-+ (eval $ac_link) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -s conftest$ac_exeext'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
-+ atalk_cv_db_db_lib=yes
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
-+atalk_cv_db_db_lib=no
-+fi
-+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
-+
-+ echo "$as_me:$LINENO: result: $atalk_cv_db_db_lib" >&5
-+echo "${ECHO_T}$atalk_cv_db_db_lib" >&6
-+ LIBS="$atalk_LIBS"
-+ if test $atalk_cv_db_db_lib = yes ; then
-+ atalk_cv_lib_db=%%DB_LIB%%
-+ fi
-+fi
-+
- if test $atalk_cv_lib_db = no ; then
- echo "$as_me:$LINENO: checking for Berkeley DB link (-ldb-4.2)" >&5
- echo $ECHO_N "checking for Berkeley DB link (-ldb-4.2)... $ECHO_C" >&6
+ DB_MAJOR_REQ=4
+ DB_MINOR_REQ=1