Diff yafc-1.3.7-r1 with a yafc-1.3.7-r2

/usr/portage/net-ftp/yafc/yafc-1.3.7-r2.ebuild 2023-10-09 14:52:34.440368475 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit bash-completion-r1
6
inherit autotools bash-completion-r1
7 7

  
8 8
DESCRIPTION="Console ftp client with a lot of nifty features"
9
HOMEPAGE="http://www.yafc-ftp.com/"
10
SRC_URI="http://www.yafc-ftp.com/downloads/${P}.tar.xz"
9
HOMEPAGE="https://github.com/sebastinas/yafc"
10
SRC_URI="https://github.com/sebastinas/yafc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
14 14
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
15
IUSE="ipv6 kerberos readline socks5 ssh"
15
IUSE="kerberos readline socks5 ssh"
16 16

  
17 17
RDEPEND="
18 18
	sys-libs/ncurses:=
......
23 23
	socks5? ( net-proxy/dante )
24 24
	ssh? ( net-libs/libssh )
25 25
"
26
BDEPEND="
27
	virtual/pkgconfig
28
	sys-devel/gettext
29
	sys-apps/texinfo
30
"
26 31
DEPEND="${RDEPEND}"
27 32

  
28 33
DOCS=( BUGS NEWS README.md THANKS TODO )
29 34

  
35
PATCHES=( "${FILESDIR}/${P}-fix-autoreconf.patch" )
36

  
37
src_prepare() {
38
	default
39
	eautoreconf
40
}
41

  
30 42
src_configure() {
31
	export ac_cv_ipv6=$(usex ipv6)
32
	econf \
33
		$(use_with readline readline /usr) \
34
		$(use_with socks5 socks /usr) \
35
		$(use_with socks5 socks5 /usr) \
36
		$(use_with kerberos krb5) \
37
		$(use_with ssh) \
43
	export ac_cv_ipv6=yes
44
	local myeconfargs=(
45
		$(use_with readline readline /usr)
46
		$(use_with socks5 socks /usr)
47
		$(use_with socks5 socks5 /usr)
48
		$(use_with kerberos krb5)
49
		$(use_with ssh)
38 50
		--with-bash-completion="$(get_bashcompdir)"
51
	)
52
	econf "${myeconfargs[@]}"
39 53
}
40 54

  
41 55
src_install() {
Thank you!