aboutsummaryrefslogtreecommitdiff
path: root/net/netatalk-devel
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-devel
parent221e92e24b0ee955a3efbe92ff100260c13f4063 (diff)
downloadports-18820e7da1f241bc4ca34087565c126c95b4e14a.tar.gz
ports-18820e7da1f241bc4ca34087565c126c95b4e14a.zip
Fix build error and bump PORTREVISION
PR: 33652 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=52792
Diffstat (limited to 'net/netatalk-devel')
-rw-r--r--net/netatalk-devel/Makefile3
-rw-r--r--net/netatalk-devel/files/patch-configure29
2 files changed, 31 insertions, 1 deletions
diff --git a/net/netatalk-devel/Makefile b/net/netatalk-devel/Makefile
index 70c1f39074c4..f0a599c76828 100644
--- a/net/netatalk-devel/Makefile
+++ b/net/netatalk-devel/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-devel/files/patch-configure b/net/netatalk-devel/files/patch-configure
new file mode 100644
index 000000000000..6c68a480848d
--- /dev/null
+++ b/net/netatalk-devel/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