Diff slang-2.3.3 with a slang-2.3.3-r1

/usr/portage/sys-libs/slang/slang-2.3.3-r1.ebuild 2023-10-09 14:52:35.564368503 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit multilib-minimal
6
inherit flag-o-matic multilib-minimal
7 7

  
8 8
DESCRIPTION="Multi-platform library designed to allow a developer to create robust software"
9 9
HOMEPAGE="https://www.jedsoft.org/slang/"
......
13 13
	SRC_URI="https://www.jedsoft.org/snapshots/${MY_P}.tar.gz"
14 14
	S="${WORKDIR}/${MY_P}"
15 15
else
16
	SRC_URI="https://www.jedsoft.org/releases/${PN}/${P}.tar.bz2
17
		https://www.jedsoft.org/releases/${PN}/old/${P}.tar.bz2"
18
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
16
	SRC_URI="
17
		https://www.jedsoft.org/releases/${PN}/${P}.tar.bz2
18
		https://www.jedsoft.org/releases/${PN}/old/${P}.tar.bz2
19
	"
20
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
19 21
fi
20 22

  
21 23
LICENSE="GPL-2"
......
33 35
"
34 36
DEPEND="${RDEPEND}"
35 37

  
36
MAKEOPTS+=" -j1"
37

  
38 38
PATCHES=(
39 39
	"${FILESDIR}"/${PN}-2.3.3-slsh-libs.patch
40 40
)
......
48 48
	sed -i -e 's/-G -fPIC/-shared -fPIC/g' \
49 49
		-e 's/-Wl,-h,/-Wl,-soname,/g' configure || die
50 50

  
51
	# Loads of blatant aliasing violations, bug #880589
52
	append-flags -fno-strict-aliasing
53
	filter-lto
54

  
51 55
	# slang does not support configuration from another dir
52 56
	multilib_copy_sources
53 57
}
......
65 69
}
66 70

  
67 71
multilib_src_compile() {
68
	emake elf $(usex static-libs static '')
69
	emake -C slsh slsh
72
	emake -j1 elf $(usev static-libs static)
73
	emake -j1 -C slsh slsh
70 74
}
71 75

  
72 76
multilib_src_install() {
73
	emake DESTDIR="${D}" install $(usex static-libs install-static '')
77
	emake -j1 DESTDIR="${D}" install $(usev static-libs install-static)
74 78
}
75 79

  
76 80
multilib_src_install_all() {
Thank you!