From 74b9ddb6a09a6b6cfdbfb98d98e18a6db0220e51 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 27 Mar 2020 07:34:34 +0100 Subject: net-ftp/lftp: Update live ebuild Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Jeroen Roovers --- net-ftp/lftp/files/lftp-9999-libdir-readline.patch | 11 +++++++++++ net-ftp/lftp/lftp-9999.ebuild | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 net-ftp/lftp/files/lftp-9999-libdir-readline.patch (limited to 'net-ftp/lftp') 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() { -- cgit v1.2.3-65-gdbad