Diff hercules-3.12 with a hercules-3.13

/usr/portage/app-emulation/hercules/hercules-3.13.ebuild 2020-02-28 23:39:00.000000000 +0300
1
# Copyright 1999-2017 Gentoo Foundation
1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI="5"
4
EAPI=7
5 5

  
6
inherit flag-o-matic eutils
6
inherit autotools flag-o-matic
7 7

  
8 8
DESCRIPTION="Hercules System/370, ESA/390 and zArchitecture Mainframe Emulator"
9 9
HOMEPAGE="http://www.hercules-390.eu/"
......
14 14
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x64-macos ~x86-macos"
15 15
IUSE="bzip2 custom-cflags +suid"
16 16

  
17
RDEPEND="bzip2? ( app-arch/bzip2 )
17
RDEPEND="
18
	dev-libs/libltdl
18 19
	net-libs/libnsl:0=
19
	sys-libs/zlib"
20
	sys-libs/zlib
21
	bzip2? ( app-arch/bzip2 )"
20 22
DEPEND="${RDEPEND}"
21 23

  
24
PATCHES=(
25
	"${FILESDIR}"/${PN}-3.13-htmldir.patch
26
	"${FILESDIR}"/${PN}-3.13-unbundle-libltdl.patch
27
)
28

  
22 29
src_prepare() {
23
	epatch "${FILESDIR}"/${PN}-3.09-aliasing.patch
30
	default
24 31

  
25
	# The local modules need local libs, so when doing a parallel install
26
	# of the modules and libs breaks during relinking.  Force the libs to
27
	# install first, and then the modules that use those libs.  #488126
28
	echo "install-modexecLTLIBRARIES: install-libLTLIBRARIES" >> Makefile.in
32
	# delete bundled libltdl, #252716
33
	rm ltdl.{c,h} || die
34
	eautoreconf
29 35
}
30 36

  
31 37
src_configure() {
32 38
	use custom-cflags || strip-flags
33
	ac_cv_lib_bz2_BZ2_bzBuffToBuffDecompress=$(usex bzip2) \
39
	local -x ac_cv_lib_bz2_BZ2_bzBuffToBuffDecompress=$(usex bzip2)
34 40
	econf \
35 41
		$(use_enable bzip2 cckd-bzip2) \
36 42
		$(use_enable bzip2 het-bzip2) \
......
41 47

  
42 48
src_install() {
43 49
	default
50
	dodoc RELEASE.NOTES
51

  
44 52
	insinto /usr/share/hercules
45 53
	doins hercules.cnf
46
	dodoc README.* RELEASE.NOTES
47
	dohtml -r html
54

  
55
	# no static archives
56
	find "${D}" -name '*.la' -delete || die
48 57
}
Thank you!