sys-libs/glibc: use new timezone-tools configure flag
authorMike Frysinger <vapier@gentoo.org>
Wed, 30 Dec 2015 18:35:48 +0000 (13:35 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 30 Dec 2015 20:40:36 +0000 (15:40 -0500)
sys-libs/glibc/files/eblits/src_configure.eblit

index 954508ca51aa4b07dd08f33a2a7c4c38e2643500..99964fbee98e8afceaf0435fad98736b52431675 100644 (file)
@@ -119,6 +119,11 @@ glibc_do_configure() {
                ${EXTRA_ECONF}
        )
 
+       # We rely on sys-libs/timezone-data for timezone tools normally.
+       if version_is_at_least 2.23 ; then
+               myconf+=( $(use_enable vanilla timezone-tools) )
+       fi
+
        # There is no configure option for this and we need to export it
        # since the glibc build will re-run configure on itself
        export libc_cv_slibdir=/$(get_libdir)