aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/pmacct
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2010-04-23 12:42:36 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2010-04-23 12:42:36 +0000
commit42ce3ab8dbf1bc13a604cd8f5e640690026f1944 (patch)
tree3b07305b651f7ffd9d69059c338face5350cdad7 /net-mgmt/pmacct
parent62e59244fcda31f86e44747f04675ad13b5b0418 (diff)
downloadports-42ce3ab8dbf1bc13a604cd8f5e640690026f1944.tar.gz
ports-42ce3ab8dbf1bc13a604cd8f5e640690026f1944.zip
Notes
Diffstat (limited to 'net-mgmt/pmacct')
-rw-r--r--net-mgmt/pmacct/Makefile9
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