From 42ce3ab8dbf1bc13a604cd8f5e640690026f1944 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 23 Apr 2010 12:42:36 +0000 Subject: [PATCH] Enable IPv6. PR: ports/143629 Submitted by: Martin Birgmeier --- net-mgmt/pmacct/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile index f5638830ab43..1e2aecda9b84 100644 --- a/net-mgmt/pmacct/Makefile +++ b/net-mgmt/pmacct/Makefile @@ -22,7 +22,8 @@ OPTIONS= MYSQL "Enable MySQL support." Off \ PGSQL "Enable PostgreSQL support." Off \ SQLITE "Enable SQLite support." Off \ MMAP "Enable mmap(2) support." On \ - LAYER2 "Enable Layer-2 support: MAC Adresses and VLANs" On + LAYER2 "Enable Layer-2 support: MAC Adresses and VLANs" On \ + IPV6 "Enable IPv6 support." On .include @@ -68,6 +69,12 @@ CONFIGURE_ARGS+=--disable-l2 CONFIGURE_ARGS+=--enable-l2 .endif +.if defined(WITHOUT_IPV6) +CONFIGURE_ARGS+=--disable-ipv6 +.else +CONFIGURE_ARGS+=--enable-ipv6 +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure