Diff gentoo-functions-0.19 with a gentoo-functions-9999

/usr/portage/sys-apps/gentoo-functions/gentoo-functions-9999.ebuild 2023-10-09 14:52:35.372368498 +0300
8 8
	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-functions.git"
9 9
else
10 10
	SRC_URI="https://gitweb.gentoo.org/proj/gentoo-functions.git/snapshot/${P}.tar.bz2"
11
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
11
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
12 12
fi
13 13

  
14
inherit toolchain-funcs flag-o-matic
14
inherit meson
15 15

  
16 16
DESCRIPTION="Base functions required by all Gentoo systems"
17 17
HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-functions.git"
18 18

  
19
LICENSE="GPL-2"
19
LICENSE="GPL-2 public-domain"
20 20
SLOT="0"
21
IUSE="test"
22
RESTRICT="!test? ( test )"
21 23

  
22 24
# Specifically needs GNU find, as well.
23 25
RDEPEND=">=sys-apps/findutils-4.9"
24 26

  
25 27
src_configure() {
26
	tc-export CC
27
	append-lfs-flags
28
	export ROOTPREFIX="${EPREFIX}"
29
	export PREFIX="${EPREFIX}/usr"
28
	local emesonargs=(
29
		# Deliberately avoid /usr as consumers assume we're at /lib/gentoo.
30
		--prefix="${EPREFIX:-/}"
31
		--mandir="${EPREFIX}/usr/share/man"
32
		$(meson_use test tests)
33
	)
34

  
35
	meson_src_configure
30 36
}
Thank you!