commit:     13173033ab392e6fe0a435d9ac2e59af1e5d4585
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 09:30:27 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 09:47:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13173033

sys-apps/file: switch to the new zlib configure flag

 sys-apps/file/file-5.28.ebuild | 5 ++---
 sys-apps/file/file-9999.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild
index ee20eaa..298edaf 100644
--- a/sys-apps/file/file-5.28.ebuild
+++ b/sys-apps/file/file-5.28.ebuild
@@ -43,11 +43,10 @@ src_prepare() {
 
 multilib_src_configure() {
        ECONF_SOURCE=${S} \
-       ac_cv_header_zlib_h=$(usex zlib) \
-       ac_cv_lib_z_gzopen=$(usex zlib)
        econf \
                --enable-fsect-man5 \
-               $(use_enable static-libs static)
+               $(use_enable static-libs static) \
+               $(use_enable zlib)
 }
 
 src_configure() {

diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild
index 1bdaecc..466e194 100644
--- a/sys-apps/file/file-9999.ebuild
+++ b/sys-apps/file/file-9999.ebuild
@@ -43,11 +43,10 @@ src_prepare() {
 
 multilib_src_configure() {
        ECONF_SOURCE=${S} \
-       ac_cv_header_zlib_h=$(usex zlib) \
-       ac_cv_lib_z_gzopen=$(usex zlib)
        econf \
                --enable-fsect-man5 \
-               $(use_enable static-libs static)
+               $(use_enable static-libs static) \
+               $(use_enable zlib)
 }
 
 src_configure() {

Reply via email to