Diff datefudge-1.22 with a datefudge-1.24

/usr/portage/app-misc/datefudge/datefudge-1.24.ebuild 2020-09-18 11:39:00.000000000 +0300
1 1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
5
inherit multilib toolchain-funcs eutils
4
EAPI=7
5
inherit toolchain-funcs
6 6

  
7 7
DESCRIPTION="A program (and preload library) to fake system date"
8 8
HOMEPAGE="https://packages.qa.debian.org/d/datefudge.html"
......
10 10

  
11 11
LICENSE="GPL-2"
12 12
SLOT="0"
13
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
13
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
14 14
IUSE=""
15 15

  
16
PATCHES=()
17

  
18
pkg_setup() {
19
	use userland_BSD && PATCHES+=( "${FILESDIR}"/${P}-bsd.patch )
20
}
21

  
22 16
src_prepare() {
23 17
	default
18

  
24 19
	sed -i \
25 20
		-e '/dpkg-parsechangelog/d' \
26 21
		Makefile || die
27
	use prefix && sed -i -e '/-o root -g root/d' Makefile
28 22
}
29 23

  
30 24
src_compile() {
......
32 26
}
33 27

  
34 28
src_install() {
35
	emake DESTDIR="${ED}" CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" install
29
	emake DESTDIR="${D}" CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" install
36 30
	einstalldocs
37 31
}
Thank you!