Diff lftp-4.9.2 with a lftp-9999

/usr/portage/net-ftp/lftp/lftp-9999.ebuild 2021-05-02 00:09:00.000000000 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5
inherit autotools libtool xdg-utils
5
inherit autotools git-r3 libtool xdg-utils
6 6

  
7 7
DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
8 8
HOMEPAGE="https://lftp.tech/"
9
SRC_URI="https://lftp.tech/ftp/${P}.tar.xz"
9
EGIT_REPO_URI="https://github.com/lavv17/lftp"
10 10

  
11 11
LICENSE="GPL-3"
12 12
SLOT="0"
13
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
13
KEYWORDS=""
14 14
IUSE="convert-mozilla-cookies +gnutls idn ipv6 nls socks5 +ssl verify-file"
15
RESTRICT="test"
16 15

  
17 16
RDEPEND="
18 17
	>=sys-libs/ncurses-5.1:=
......
34 33
		virtual/perl-Digest-MD5
35 34
	)
36 35
"
36

  
37 37
DEPEND="
38 38
	${RDEPEND}
39
	dev-libs/gnulib
39 40
	=sys-devel/libtool-2*
40 41
	app-arch/xz-utils
41 42
	nls? ( >=sys-devel/gettext-0.19 )
42 43
	virtual/pkgconfig
43 44
"
45

  
44 46
DOCS=(
45 47
	BUGS ChangeLog FAQ FEATURES MIRRORS NEWS README README.debug-levels
46 48
	README.dnssec README.modules THANKS TODO
47 49
)
48 50
PATCHES=(
49
	"${FILESDIR}"/${PN}-4.0.2.91-lafile.patch
50 51
	"${FILESDIR}"/${PN}-4.5.5-am_config_header.patch
51
	"${FILESDIR}"/${PN}-4.7.0-gettext.patch
52
	"${FILESDIR}"/${PN}-4.7.5-libdir-additional.patch
53 52
	"${FILESDIR}"/${PN}-4.7.5-libdir-expat.patch
54 53
	"${FILESDIR}"/${PN}-4.8.2-libdir-configure.patch
55 54
	"${FILESDIR}"/${PN}-4.8.2-libdir-libidn2.patch
56 55
	"${FILESDIR}"/${PN}-4.8.2-libdir-openssl.patch
57 56
	"${FILESDIR}"/${PN}-4.8.2-libdir-zlib.patch
58 57
	"${FILESDIR}"/${PN}-4.9.1-libdir-readline.patch
59
	"${FILESDIR}"/${PN}-4.9.2-ac-270.patch
60 58
)
61 59

  
62 60
src_prepare() {
63 61
	default
64 62

  
65
	eautoreconf
63
	gnulib-tool --update || die
66 64

  
67
	elibtoolize # for Darwin bundles
65
	chmod +x build-aux/git-version-gen || die
68 66

  
69
	# bug #536036
70
	printf 'set fish:auto-confirm no\nset sftp:auto-confirm no\n' >> ${PN}.conf || die
67
	eautoreconf
68
	elibtoolize # for Darwin bundles
71 69
}
72 70

  
73 71
src_configure() {
......
86 84
}
87 85

  
88 86
src_install() {
89
	default
87
	# FIXME: MKDIR_P is not getting picked up in po/Makefile
88
	emake DESTDIR="${D}" mkdir_p="mkdir -p" install
90 89

  
91 90
	local script
92 91
	for script in {convert-mozilla-cookies,verify-file}; do
Thank you!