When the feature --with-template=feature/ipv6 is used packages like curl should have ipv6 added EXTRA_OECONF += "--enable-ipv6"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,,"