Diff eudev-3.2.11-r4 with a eudev-3.2.11-r5

/usr/portage/sys-fs/eudev/eudev-3.2.11-r5.ebuild 2023-10-09 14:52:35.508368502 +0300
12 12
	inherit git-r3
13 13
else
14 14
	SRC_URI="https://github.com/eudev-project/eudev/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
15
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
15
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
16 16
fi
17 17

  
18 18
DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
......
20 20

  
21 21
LICENSE="LGPL-2.1 MIT GPL-2"
22 22
SLOT="0"
23
IUSE="+kmod introspection rule-generator selinux static-libs test"
23
IUSE="+kmod introspection rule-generator selinux split-usr static-libs test"
24 24
RESTRICT="!test? ( test )"
25 25

  
26 26
DEPEND=">=sys-apps/util-linux-2.20
......
102 102
	eautoreconf
103 103
}
104 104

  
105
rootprefix() {
106
	usex split-usr '' /usr
107
}
108

  
109
sbindir() {
110
	usex split-usr sbin bin
111
}
112

  
105 113
multilib_src_configure() {
106 114
	# bug #463846
107 115
	tc-export CC
......
116 124
		ac_cv_header_sys_capability_h=yes
117 125
		DBUS_CFLAGS=' '
118 126
		DBUS_LIBS=' '
119
		--with-rootprefix=
127
		--with-rootprefix="${EPREFIX}$(rootprefix)"
120 128
		--with-rootrundir=/run
121 129
		--exec-prefix="${EPREFIX}"
122
		--bindir="${EPREFIX}"/bin
130
		--bindir="${EPREFIX}$(rootprefix)/bin"
131
		--sbindir="${EPREFIX}$(rootprefix)/$(sbindir)"
123 132
		--includedir="${EPREFIX}"/usr/include
124
		--libdir="${EPREFIX}"/usr/$(get_libdir)
125
		--with-rootlibexecdir="${EPREFIX}"/lib/udev
126
		--enable-split-usr
133
		--libdir="${EPREFIX}/usr/$(get_libdir)"
134
		--with-rootlibexecdir="${EPREFIX}$(rootprefix)/lib/udev"
135
		$(use_enable split-usr)
127 136
		--enable-manpages
128 137
	)
129 138

  
......
131 140
	# that means all options only apply to native_abi
132 141
	if multilib_is_native_abi; then
133 142
		econf_args+=(
134
			--with-rootlibdir="${EPREFIX}"/$(get_libdir)
143
			--with-rootlibdir="${EPREFIX}$(rootprefix)/$(get_libdir)"
135 144
			$(use_enable introspection)
136 145
			$(use_enable kmod)
137 146
			$(use_enable static-libs static)
......
187 196
multilib_src_install_all() {
188 197
	find "${ED}" -name '*.la' -delete || die
189 198

  
190
	insinto /lib/udev/rules.d
199
	insinto "$(rootprefix)/lib/udev/rules.d"
191 200
	doins "${FILESDIR}"/40-gentoo.rules
192 201

  
193 202
	use rule-generator && doinitd "${FILESDIR}"/udev-postmount
Thank you!