diff options
Diffstat (limited to 'net-mgmt/net-snmp4')
-rw-r--r-- | net-mgmt/net-snmp4/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile index fe605bb872eb..9af21287416e 100644 --- a/net-mgmt/net-snmp4/Makefile +++ b/net-mgmt/net-snmp4/Makefile @@ -71,6 +71,8 @@ CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY SHLIB_VERSION= 4 PLIST_SUB+= shlib=${SHLIB_VERSION} +OPTIONS= IPV6 "Enable IPv6 support" On + .include <bsd.port.pre.mk> .if ${OSVERSION} >= 700019 @@ -81,7 +83,7 @@ BROKEN= Does not compile on FreeBSD >= 7.0 CFLAGS+= -Dfreebsd5 .endif -.if ${OSVERSION} >= 400014 +.if defined(WITH_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .endif |