aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-06-09 18:16:10 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-06-09 18:16:10 +0000
commitf13704d9620a4fc1b07099d0299290eb634ad154 (patch)
treebb7f4e7b07326df02d86523ef240ff51777aa94e /net-p2p
parentb77d28bb4435606edf67e7d1c1b4bc377a477328 (diff)
downloadports-f13704d9620a4fc1b07099d0299290eb634ad154.tar.gz
ports-f13704d9620a4fc1b07099d0299290eb634ad154.zip
Add IPv6 support, bump port revision
PR: 53097 Submitted by: Kirill Ponomarew (MAINTAINER)
Notes
Notes: svn path=/head/; revision=82607
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gnunet/Makefile10
-rw-r--r--net-p2p/gnunet/pkg-plist6
2 files changed, 16 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