diff options
Diffstat (limited to 'net-ftp/lftp/files/lftp-4.8.2-libdir-zlib.patch')
-rw-r--r-- | net-ftp/lftp/files/lftp-4.8.2-libdir-zlib.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-ftp/lftp/files/lftp-4.8.2-libdir-zlib.patch b/net-ftp/lftp/files/lftp-4.8.2-libdir-zlib.patch new file mode 100644 index 000000000000..7ff003fe6eb3 --- /dev/null +++ b/net-ftp/lftp/files/lftp-4.8.2-libdir-zlib.patch @@ -0,0 +1,20 @@ +--- a/m4/ax_check_zlib.m4 ++++ b/m4/ax_check_zlib.m4 +@@ -105,7 +105,6 @@ + ZLIB_OLD_LDFLAGS="$LDFLAGS" + ZLIB_OLD_CPPFLAGS="$CPPFLAGS" + if test -n "${ZLIB_HOME}"; then +- LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" + CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" + fi + AC_LANG_SAVE +@@ -118,8 +118,7 @@ + # If both library and header were found, action-if-found + # + m4_ifblank([$1],[ +- test "$enable_rpath" = yes -a "$ZLIB_HOME" != /usr && \ +- LDFLAGS="$LDFLAGS -R${ZLIB_HOME}/lib" ++ test "$enable_rpath" = yes -a "$ZLIB_HOME" != /usr + LIBS="-lz $LIBS" + AC_DEFINE([HAVE_LIBZ], [1], + [Define to 1 if you have `z' library (-lz)]) |