commit: d1b0eb928ded4867cbed2d25effca4a52bc37922
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 12:13:23 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 12:13:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b0eb92
net-ftp/lftp: Remove ZLIB_LDFLAGS from configure.ac (bug #646284 by Xuefer).
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch
b/net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch
index 9ec7c1b0dd1..791bd2c5a3b 100644
--- a/net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch
+++ b/net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch
@@ -1,3 +1,13 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -305,7 +305,6 @@
+
+ AX_CHECK_ZLIB([
+ AC_SUBST([ZLIB],[-lz])
+- AC_SUBST([ZLIB_LDFLAGS],["-L${ZLIB_HOME}/lib"])
+ AC_SUBST([ZLIB_CPPFLAGS],["-I${ZLIB_HOME}/include"])
+ ],[
+ AC_MSG_ERROR([cannot find -lz library, install zlib-devel package])
--- a/m4/ax_check_zlib.m4
+++ b/m4/ax_check_zlib.m4
@@ -105,7 +105,6 @@