net-dns/bind: compile-fix for GeoIP builds

Closes: https://bugs.gentoo.org/745759
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson
2020-09-30 14:48:51 -07:00
parent 8a49e6fff0
commit 5b9f3e48ea

View File

@@ -152,11 +152,14 @@ bind_configure() {
# This is for users to start to migrate back to USE=geoip, rather than
# USE=geoip2
if use geoip ; then
myeconfargs+=( $(use_with geoip maxminddb) )
myeconfargs+=( $(use_with geoip maxminddb) --enable-geoip )
elif use geoip2 ; then
myeconfargs+=( $(use_with geoip2 maxminddb) )
# Added 2020/09/30
# Remove USE=geoip2 support after 2020/03/01
ewarn "USE=geoip2 is deprecated; update your USE flags!"
myeconfargs+=( $(use_with geoip2 maxminddb) --enable-geoip )
else
myeconfargs+=( --without-maxminddb )
myeconfargs+=( --without-maxminddb --disable-geoip )
fi
# bug #158664