summaryrefslogtreecommitdiff
path: root/net/netatalk/files/patch-configure
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-09 02:41:41 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-09 02:41:41 +0000
commit18820e7da1f241bc4ca34087565c126c95b4e14a (patch)
treebb5883bb187fbcaa22c54e6c4a3de7cbe26cb997 /net/netatalk/files/patch-configure
parentUpdate to 1.65 (diff)
Fix build error and bump PORTREVISION
PR: 33652 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=52792
Diffstat (limited to 'net/netatalk/files/patch-configure')
-rw-r--r--net/netatalk/files/patch-configure29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/netatalk/files/patch-configure b/net/netatalk/files/patch-configure
new file mode 100644
index 000000000000..6c68a480848d
--- /dev/null
+++ b/net/netatalk/files/patch-configure
@@ -0,0 +1,29 @@
+--- configure.orig Mon Jan 7 11:00:12 2002
++++ configure Mon Jan 7 11:00:34 2002
+@@ -8249,14 +8249,14 @@
+ savedldflags="$LDFLAGS"
+ CFLAGS="$CFLAGS -I$db3dir"
+ LDFLAGS="-L$db3libdir $LDFLAGS"
+- echo $ac_n "checking for main in -ldb""... $ac_c" 1>&6
+-echo "configure:8254: checking for main in -ldb" >&5
++ echo $ac_n "checking for main in -ldb3""... $ac_c" 1>&6
++echo "configure:8254: checking for main in -ldb3" >&5
+ ac_lib_var=`echo db'_'main | 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 8262 "configure"
+ #include "confdefs.h"
+@@ -8283,7 +8283,7 @@
+
+ db3found=yes
+ DB3_CFLAGS="-I$db3dir"
+- DB3_LIBS="-L$db3libdir -ldb"
++ DB3_LIBS="-L$db3libdir -ldb3"
+
+ else
+ echo "$ac_t""no" 1>&6