mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user