summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-09-30 14:48:51 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-09-30 14:49:18 -0700
commit5b9f3e48eadc54ce3d63f3b147616d6442cf1cd0 (patch)
treeeff713d5271889f3ac83f13120d38d4294700312 /net-dns
parentnet-analyzer/bwping: Version 2.1 (diff)
downloadgentoo-5b9f3e48eadc54ce3d63f3b147616d6442cf1cd0.tar.gz
gentoo-5b9f3e48eadc54ce3d63f3b147616d6442cf1cd0.tar.bz2
gentoo-5b9f3e48eadc54ce3d63f3b147616d6442cf1cd0.zip
net-dns/bind: compile-fix for GeoIP builds
Closes: https://bugs.gentoo.org/745759 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind/bind-9.16.6-r3.ebuild9
1 files 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 ff2089ac70ad..d23c253ecf1f 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