aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk-devel
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-09 10:41:41 +0800
committerpat <pat@FreeBSD.org>2002-01-09 10:41:41 +0800
commit197280d2e1b74adbb4a99e17d48b1be8179dbb29 (patch)
treeba9514fdc84f7a6929d94558006b4e76abda23da /net/netatalk-devel
parent234a21e093f56774ee7c9e40026a2b3512291f92 (diff)
downloadfreebsd-ports-gnome-197280d2e1b74adbb4a99e17d48b1be8179dbb29.tar.gz
freebsd-ports-gnome-197280d2e1b74adbb4a99e17d48b1be8179dbb29.tar.zst
freebsd-ports-gnome-197280d2e1b74adbb4a99e17d48b1be8179dbb29.zip
Fix build error and bump PORTREVISION
PR: 33652 Submitted by: maintainer
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