diff options
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/lftp/files/lftp-9999-libdir-readline.patch | 11 | ||||
-rw-r--r-- | net-ftp/lftp/lftp-9999.ebuild | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/net-ftp/lftp/files/lftp-9999-libdir-readline.patch b/net-ftp/lftp/files/lftp-9999-libdir-readline.patch new file mode 100644 index 000000000000..fde1017f4bdc --- /dev/null +++ b/net-ftp/lftp/files/lftp-9999-libdir-readline.patch @@ -0,0 +1,11 @@ +--- a/m4/lftp_lib_readline.m4 ++++ b/m4/lftp_lib_readline.m4 +@@ -107,7 +107,7 @@ + if test -f "$readline_include_dir/readline/readline.h"; then + readline_include_dir="$readline_include_dir/readline" + fi +- readline_ld_flags="-L$readline_prefix/lib" ++ readline_ld_flags="-L$libdir" + if test -z "$readline_lib_flags"; then + readline_lib_flags="-lreadline" + fi diff --git a/net-ftp/lftp/lftp-9999.ebuild b/net-ftp/lftp/lftp-9999.ebuild index 44b55978713a..b38775a32ae7 100644 --- a/net-ftp/lftp/lftp-9999.ebuild +++ b/net-ftp/lftp/lftp-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,11 +53,11 @@ DOCS=( PATCHES=( "${FILESDIR}"/${PN}-4.5.5-am_config_header.patch "${FILESDIR}"/${PN}-4.7.5-libdir-expat.patch - "${FILESDIR}"/${PN}-4.7.5-libdir-readline.patch "${FILESDIR}"/${PN}-4.8.2-libdir-configure.patch "${FILESDIR}"/${PN}-4.8.2-libdir-libidn2.patch "${FILESDIR}"/${PN}-4.8.2-libdir-openssl.patch "${FILESDIR}"/${PN}-4.8.2-libdir-zlib.patch + "${FILESDIR}"/${PN}-9999-libdir-readline.patch ) src_prepare() { |