From 5b9f3e48eadc54ce3d63f3b147616d6442cf1cd0 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 30 Sep 2020 14:48:51 -0700 Subject: [PATCH] net-dns/bind: compile-fix for GeoIP builds Closes: https://bugs.gentoo.org/745759 Signed-off-by: Robin H. Johnson --- net-dns/bind/bind-9.16.6-r3.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-dns/bind/bind-9.16.6-r3.ebuild b/net-dns/bind/bind-9.16.6-r3.ebuild index ff2089ac70ad7..d23c253ecf1fc 100644 --- a/net-dns/bind/bind-9.16.6-r3.ebuild +++ b/net-dns/bind/bind-9.16.6-r3.ebuild @@ -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