diff options
author | krion <krion@FreeBSD.org> | 2010-04-23 20:42:36 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2010-04-23 20:42:36 +0800 |
commit | b3e26b0fcde85fddbe650ebd36b80c6398aa15a9 (patch) | |
tree | 6d10ed82cb1d0dde03622e69bf48eec529de80a5 /net-mgmt | |
parent | fa196b70f51e29fee77c7bed0325aaf46f6b99b3 (diff) | |
download | freebsd-ports-gnome-b3e26b0fcde85fddbe650ebd36b80c6398aa15a9.tar.gz freebsd-ports-gnome-b3e26b0fcde85fddbe650ebd36b80c6398aa15a9.tar.zst freebsd-ports-gnome-b3e26b0fcde85fddbe650ebd36b80c6398aa15a9.zip |
Enable IPv6.
PR: ports/143629
Submitted by: Martin Birgmeier <martin.birgmeier@aon.at>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/pmacct/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 <bsd.port.pre.mk> @@ -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 |