Diff libnsl-0-r2 with a libnsl-1.3.0-r2

/usr/portage/net-libs/libnsl/libnsl-1.3.0-r2.ebuild 2023-10-09 14:52:34.492368476 +0300
1
# Copyright 1999-2022 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=8
4
EAPI=7
5 5

  
6
# Used only to populate IUSE, bug 643058
7
inherit multilib-build
6
inherit multilib-minimal
8 7

  
9 8
DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version"
10 9
HOMEPAGE="https://github.com/thkukuk/libnsl"
10
SRC_URI="https://github.com/thkukuk/${PN}/releases/download/v${PV}/${P}.tar.xz"
11 11

  
12
# Fake version to help portage upgrading.
12
SLOT="0/2"
13
LICENSE="LGPL-2.1+ BSD"
13 14

  
14
LICENSE="LGPL-2.1+"
15
SLOT="0/1"
16
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
15
# Stabilize together with glibc-2.26!
16
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
17 17

  
18
DEPEND="elibc_glibc? ( <sys-libs/glibc-2.26 )"
19
RDEPEND="${DEPEND}"
18
IUSE="static-libs"
19

  
20
DEPEND="
21
	>=net-libs/libtirpc-1.2.0:=[${MULTILIB_USEDEP}]
22
"
23
RDEPEND="${DEPEND}
24
	!<sys-libs/glibc-2.26
25
"
26

  
27
PATCHES=(
28
	"${FILESDIR}"/${PN}-1.3.0-rpath.patch
29
)
30

  
31
multilib_src_configure() {
32
	local myconf=(
33
		--enable-shared
34
		$(use_enable static-libs static)
35
	)
36
	ECONF_SOURCE=${S} econf "${myconf[@]}"
37
}
38

  
39
multilib_src_install_all() {
40
	einstalldocs
41
	find "${ED}" -type f -name '*.la' -delete || die
42
}
Thank you!