Diff install-xattr-0.5 with a install-xattr-0.7

/usr/portage/sys-apps/install-xattr/install-xattr-0.7.ebuild 2020-03-26 18:41:00.000000000 +0300
1
# Copyright 1999-2021 Gentoo Authors
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 6
DESCRIPTION="Wrapper to coreutil's install to preserve Filesystem Extended Attributes"
7 7
HOMEPAGE="https://dev.gentoo.org/~blueness/install-xattr/"
8 8

  
9
inherit toolchain-funcs
9
inherit flag-o-matic toolchain-funcs
10 10

  
11 11
if [[ ${PV} == "9999" ]] ; then
12 12
	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git"
13 13
	inherit git-r3
14 14
else
15 15
	SRC_URI="https://dev.gentoo.org/~blueness/install-xattr/${P}.tar.bz2"
16
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
16
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
17 17
	S=${WORKDIR}/${PN}
18 18
fi
19 19

  
......
21 21
SLOT="0"
22 22

  
23 23
src_prepare() {
24
	default
24 25
	tc-export CC
26
	append-cppflags "-D_FILE_OFFSET_BITS=64"
25 27
}
26 28

  
27 29
src_compile() {
......
35 37
	if [[ ${PV} == "9999" ]] ; then
36 38
		cd "${WORKDIR}/${P}/misc/${PN}" || die
37 39
	fi
38
	default
40
	DESTDIR=${ED} emake install
39 41
}
40 42

  
41 43
# We need to fix how tests are done
Thank you!