diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2010-04-23 12:42:36 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2010-04-23 12:42:36 +0000 |
commit | 42ce3ab8dbf1bc13a604cd8f5e640690026f1944 (patch) | |
tree | 3b07305b651f7ffd9d69059c338face5350cdad7 /net-mgmt/pmacct | |
parent | 62e59244fcda31f86e44747f04675ad13b5b0418 (diff) | |
download | ports-42ce3ab8dbf1bc13a604cd8f5e640690026f1944.tar.gz ports-42ce3ab8dbf1bc13a604cd8f5e640690026f1944.zip |
Notes
Diffstat (limited to 'net-mgmt/pmacct')
-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 |