summaryrefslogtreecommitdiff
path: root/net-p2p/gnunet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/gnunet/Makefile')
-rw-r--r--net-p2p/gnunet/Makefile35
1 files changed, 22 insertions, 13 deletions
diff --git a/net-p2p/gnunet/Makefile b/net-p2p/gnunet/Makefile
index 5787eb4c6360..a78d0ea59200 100644
--- a/net-p2p/gnunet/Makefile
+++ b/net-p2p/gnunet/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= gnunet
-PORTVERSION= 0.6.4
-PORTREVISION= 2
+PORTVERSION= 0.6.5
CATEGORIES= net
MASTER_SITES= http://www.ovmj.org/GNUnet/download/ \
${MASTER_SITE_GNU}
@@ -38,11 +37,11 @@ CONFIGURE_ARGS= --disable-ltdl-install --with-crypto
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(WITH_GDBM)
-LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
-PLIST_SUB+= WITH_GDBM=""
+LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
+PLIST_SUB+= WITH_GDBM=""
.else
CONFIGURE_ARGS+= --without-gdbm
-PLIST_SUB+= WITH_GDBM="@comment "
+PLIST_SUB+= WITH_GDBM="@comment "
.endif
.if defined(WITH_MYSQL)
@@ -53,30 +52,39 @@ CONFIGURE_ARGS+= --without-mysql
.endif
.if defined(WITH_TDB)
-LIB_DEPENDS+= tdb.1:${PORTSDIR}/databases/tdb
-PLIST_SUB+= WITH_TDB=""
+LIB_DEPENDS+= tdb.1:${PORTSDIR}/databases/tdb
+PLIST_SUB+= WITH_TDB=""
.else
CONFIGURE_ARGS+= --without-tdb
-PLIST_SUB+= WITH_TDB="@comment "
+PLIST_SUB+= WITH_TDB="@comment "
.endif
.if defined(WITH_BDB3)
-LIB_DEPENDS+= db3:${PORTSDIR}/databases/db3
+LIB_DEPENDS+= db3:${PORTSDIR}/databases/db3
CONFIGURE_ARGS+= --with-bdb=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-bdb
.endif
+.if defined(WITH_SQLITE)
+LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
+CONFIGURE_ARGS+= --with-sqlite
+PLIST_SUB+= WITH_SQLITE=""
+.else
+CONFIGURE_ARGS+= --without-sqlite
+PLIST_SUB+= WITH_SQLITE="@comment "
+.endif
+
.if defined(WITH_IPV6)
-PKGNAMESUFFIX= -ipv6
+PKGNAMESUFFIX= -ipv6
CONFIGURE_ARGS+= --enable-ipv6
-PLIST_SUB+= WITH_IPV6=""
+PLIST_SUB+= WITH_IPV6=""
.else
-PLIST_SUB+= WITH_IPV6="@comment "
+PLIST_SUB+= WITH_IPV6="@comment "
.endif
MAN1= gnunet-chat.1 gnunet-check.1 gnunet-convert.1 \
- gnunet-delete.1 gnunet-directory.1 \
+ gnunet-delete.1 gnunet-directory.1 gnunet-download-manager.1 \
gnunet-download.1 gnunet-gtk.1 gnunet-insert.1 \
gnunet-peer-info.1 gnunet-pseudonym.1 \
gnunet-search.1 gnunet-stats.1 gnunet-tbench.1 \
@@ -91,6 +99,7 @@ pre-everything::
@${ECHO_MSG} " WITH_TDB=yes Turn on TDB support"
@${ECHO_MSG} " WITH_BDB3=yes Turn on Berkely DB library support"
@${ECHO_MSG} " WITH_GDBM=yes Turn on GNU dbm support"
+ @${ECHO_MSG} " WITH_SQLITE=yes Turn on sqlite support"
@${ECHO_MSG} " WITH_IPV6=yes Turn on to enable IPv6 support"
@${ECHO_MSG} ""