summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/lftp/files/lftp-4.7.5-libdir-zlib.patch10
1 files changed, 10 insertions, 0 deletions
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 9ec7c1b0dd17..791bd2c5a3b9 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 @@