diff --git a/net/ntp-rc/Makefile b/net/ntp-rc/Makefile index 311c09230134..9316610c8437 100644 --- a/net/ntp-rc/Makefile +++ b/net/ntp-rc/Makefile @@ -52,6 +52,10 @@ CONFIGURE_ARGS+= --with-openssl-incdir=${OPENSSLINC} \ PLIST_SUB+= SSL="" .endif +.if !defined(DISABLE_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + .for D in ${NTP_DRIVERS} .if defined(WITH_${D}) CONFIGURE_ARGS+= --enable-${D} diff --git a/net/ntp/Makefile b/net/ntp/Makefile index c45dae66ebcb..fe28885925bd 100644 --- a/net/ntp/Makefile +++ b/net/ntp/Makefile @@ -52,6 +52,10 @@ CONFIGURE_ARGS+= --with-openssl-incdir=${OPENSSLINC} \ PLIST_SUB+= SSL="" .endif +.if !defined(DISABLE_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + .for D in ${NTP_DRIVERS} .if defined(WITH_${D}) CONFIGURE_ARGS+= --enable-${D}