Diff poke-2.4-r1 with a poke-2.90.1

/usr/portage/dev-util/poke/poke-2.90.1.ebuild 2023-10-09 14:52:30.988368388 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit elisp-common flag-o-matic toolchain-funcs
6
inherit elisp-common flag-o-matic
7 7

  
8 8
DESCRIPTION="Extensible editor for structured binary data"
9 9
HOMEPAGE="https://www.jemarch.net/poke"
......
13 13
	EGIT_REPO_URI="https://git.savannah.gnu.org/git/poke.git"
14 14
	REGEN_BDEPEND="
15 15
		>=sys-devel/autoconf-2.62
16
		>=sys-devel/automake-2.16
16
		>=sys-devel/automake-1.16
17 17
		sys-apps/gawk
18 18
		sys-apps/help2man
19 19
		sys-apps/texinfo
20 20
		sys-devel/bison
21 21
		sys-devel/flex
22 22
	"
23
elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) -ge 90 ]]; then
24
	SRC_URI="https://alpha.gnu.org/gnu/poke/${P}.tar.gz"
25
	REGEN_BDEPEND=""
23 26
else
24 27
	SRC_URI="mirror://gnu/poke/${P}.tar.gz"
25
	KEYWORDS="amd64 ~x86"
28
	KEYWORDS="~amd64 ~x86"
26 29
	REGEN_BDEPEND=""
27 30
fi
28 31

  
......
47 50
BDEPEND="
48 51
	${REGEN_BDEPEND}
49 52
	virtual/pkgconfig
50
	pvm-profiling? ( sys-devel/gcc )
51 53
	emacs? ( >=app-editors/emacs-23.1:* )
52 54
	test? (
53 55
		dev-util/dejagnu
......
57 59

  
58 60
SITEFILE="50${PN}-gentoo.el"
59 61

  
60
pkg_pretend() {
61
	if use pvm-profiling && ! tc-is-gcc; then
62
		die "USE=pvm-profiling requires GCC"
63
	fi
64
}
65

  
66 62
pkg_setup() {
67 63
	use emacs && elisp-check-emacs-version
68 64
}
......
83 79
	# future.  Until then, just filter out LTO.
84 80
	filter-lto
85 81

  
86
	# NB --disable-{gui,mi}:
87
	# These (AFAICT) have no consumers in Gentoo, and should not get any,
88
	# preferably. They are slated for removal with Poke 3 (should happen
89
	# towards the end of the year, possibly), so they should not be relied
90
	# upon.
91 82
	local myconf=(
92 83
		--with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
93 84
		--enable-hserver
94
		--disable-gui
95
		--disable-mi
96 85
		$(use_enable nbd libnbd)
97 86
		$(use_enable pvm-profiling)
98 87
		$(use_enable nls)
Thank you!