aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk')
-rw-r--r--net/netatalk/Makefile3
-rw-r--r--net/netatalk/files/patch-configure29
2 files changed, 31 insertions, 1 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 70c1f39074c4..f0a599c76828 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netatalk
PORTVERSION= 1.5.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -42,8 +43,8 @@ CONFIGURE_ARGS+= --enable-srvloc
.if defined(WITH_FLOCK_LOCKS)
# Disable byte locking, and do full file locking. This _may_ help with some
# Quark Express save issues.
-.endif
CONFIGURE_ARGS+= --with-flock-locks
+.endif
.if defined(WITH_CNID)
# Configure EXPERIMENTAL CNID DID support. This is an attmept to make
# DIDs more persistent by using a Berkeley database to store the DID values.
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