aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/gnunet/Makefile10
-rw-r--r--net-p2p/gnunet/pkg-plist6
-rw-r--r--net/gnunet/Makefile10
-rw-r--r--net/gnunet/pkg-plist6
4 files changed, 32 insertions, 0 deletions
diff --git a/net-p2p/gnunet/Makefile b/net-p2p/gnunet/Makefile
index 421bcf0a7f81..ad979dbb40ce 100644
--- a/net-p2p/gnunet/Makefile
+++ b/net-p2p/gnunet/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gnunet
PORTVERSION= 0.5.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU} \
http://www.ovmj.org/GNUnet/download/
@@ -58,6 +59,14 @@ CONFIGURE_ARGS+= --with-bdb=${LOCALBASE}
CONFIGURE_ARGS+= --without-bdb
.endif
+.if defined(WITH_IPV6)
+PKGNAMESUFFIX= -ipv6
+CONFIGURE_ARGS+= --enable-ipv6
+PLIST_SUB+= WITH_IPV6=""
+.else
+PLIST_SUB+= WITH_IPV6="@comment "
+.endif
+
MAN1= gnunet-chat.1 gnunet-check.1 gnunet-convert.1 \
gnunet-delete.1 gnunet-download.1 gnunet-gtk.1 \
gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 \
@@ -72,6 +81,7 @@ pre-everything::
@${ECHO_MSG} " WITH_TDB=yes Turn on TDB support"
@${ECHO_MSG} " WITH_BDB41=yes Turn on Berkely DB library support"
@${ECHO_MSG} " WITH_GDBM=yes Turn on GNU dbm support"
+ @${ECHO_MSG} " WITH_IPV6=yes Turn on to enable IPv6 support"
@${ECHO_MSG} ""
post-patch:
diff --git a/net-p2p/gnunet/pkg-plist b/net-p2p/gnunet/pkg-plist
index 30ee86fae95b..994a1ba1806e 100644
--- a/net-p2p/gnunet/pkg-plist
+++ b/net-p2p/gnunet/pkg-plist
@@ -66,9 +66,15 @@ lib/libgnunettransport_smtp.so.0
lib/libgnunettransport_tcp.la
lib/libgnunettransport_tcp.so
lib/libgnunettransport_tcp.so.0
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.la
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.so
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.so.0
lib/libgnunettransport_udp.la
lib/libgnunettransport_udp.so
lib/libgnunettransport_udp.so.0
+%%WITH_IPV6%%lib/libgnunettransport_udp6.la
+%%WITH_IPV6%%lib/libgnunettransport_udp6.so
+%%WITH_IPV6%%lib/libgnunettransport_udp6.so.0
lib/libgnunetutil.la
lib/libgnunetutil.so
lib/libgnunetutil.so.0
diff --git a/net/gnunet/Makefile b/net/gnunet/Makefile
index 421bcf0a7f81..ad979dbb40ce 100644
--- a/net/gnunet/Makefile
+++ b/net/gnunet/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gnunet
PORTVERSION= 0.5.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU} \
http://www.ovmj.org/GNUnet/download/
@@ -58,6 +59,14 @@ CONFIGURE_ARGS+= --with-bdb=${LOCALBASE}
CONFIGURE_ARGS+= --without-bdb
.endif
+.if defined(WITH_IPV6)
+PKGNAMESUFFIX= -ipv6
+CONFIGURE_ARGS+= --enable-ipv6
+PLIST_SUB+= WITH_IPV6=""
+.else
+PLIST_SUB+= WITH_IPV6="@comment "
+.endif
+
MAN1= gnunet-chat.1 gnunet-check.1 gnunet-convert.1 \
gnunet-delete.1 gnunet-download.1 gnunet-gtk.1 \
gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 \
@@ -72,6 +81,7 @@ pre-everything::
@${ECHO_MSG} " WITH_TDB=yes Turn on TDB support"
@${ECHO_MSG} " WITH_BDB41=yes Turn on Berkely DB library support"
@${ECHO_MSG} " WITH_GDBM=yes Turn on GNU dbm support"
+ @${ECHO_MSG} " WITH_IPV6=yes Turn on to enable IPv6 support"
@${ECHO_MSG} ""
post-patch:
diff --git a/net/gnunet/pkg-plist b/net/gnunet/pkg-plist
index 30ee86fae95b..994a1ba1806e 100644
--- a/net/gnunet/pkg-plist
+++ b/net/gnunet/pkg-plist
@@ -66,9 +66,15 @@ lib/libgnunettransport_smtp.so.0
lib/libgnunettransport_tcp.la
lib/libgnunettransport_tcp.so
lib/libgnunettransport_tcp.so.0
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.la
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.so
+%%WITH_IPV6%%lib/libgnunettransport_tcp6.so.0
lib/libgnunettransport_udp.la
lib/libgnunettransport_udp.so
lib/libgnunettransport_udp.so.0
+%%WITH_IPV6%%lib/libgnunettransport_udp6.la
+%%WITH_IPV6%%lib/libgnunettransport_udp6.so
+%%WITH_IPV6%%lib/libgnunettransport_udp6.so.0
lib/libgnunetutil.la
lib/libgnunetutil.so
lib/libgnunetutil.so.0