summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-03-27 07:34:34 +0100
committerJeroen Roovers <jer@gentoo.org>2020-03-27 07:46:02 +0100
commit74b9ddb6a09a6b6cfdbfb98d98e18a6db0220e51 (patch)
tree0c0ca0f388ea8c35a08f0dbd69f47791b949765c /net-ftp
parentnet-libs/libtrace: Version 4.0.12_p1 (diff)
downloadgentoo-74b9ddb6a09a6b6cfdbfb98d98e18a6db0220e51.tar.gz
gentoo-74b9ddb6a09a6b6cfdbfb98d98e18a6db0220e51.tar.bz2
gentoo-74b9ddb6a09a6b6cfdbfb98d98e18a6db0220e51.zip
net-ftp/lftp: Update live ebuild
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/lftp/files/lftp-9999-libdir-readline.patch11
-rw-r--r--net-ftp/lftp/lftp-9999.ebuild4
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() {