Diff netkit-timed-0.17-r10 with a netkit-timed-0.17-r11

/usr/portage/net-misc/netkit-timed/netkit-timed-0.17-r11.ebuild 2023-10-09 14:52:34.664368481 +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="6"
4
EAPI=8
5 5

  
6 6
inherit flag-o-matic toolchain-funcs
7 7

  
8
IUSE=""
9
DESCRIPTION="Netkit - timed"
8
DESCRIPTION="Netkit - timed: Time daemon"
10 9
HOMEPAGE="https://wiki.linuxfoundation.org/networking/netkit"
11 10
SRC_URI="http://ftp.linux.org.uk/pub/linux/Networking/netkit/${P}.tar.gz"
12
KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
11

  
12
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
13 13
LICENSE="BSD GPL-2"
14 14
SLOT="0"
15 15

  
16
DEPEND=""
17
RDEPEND=""
18

  
19 16
src_prepare() {
20 17
	eapply "${FILESDIR}"/0.17-CFLAG-DEF-fix.patch
21 18
	eapply "${FILESDIR}"/0.17-timed-opt-parsing.patch
22
	sed -i configure \
23
		-e '/^LDFLAGS=/d' \
24
		|| die "sed configure"
19
	sed -i -e '/^LDFLAGS=/d' configure || die "sed configure"
20
	sed -i -e "s|ar -cruv|\${AR} -cruv|g" timed/lib/Makefile || die
25 21
	default
26 22
}
27 23

  
28 24
src_configure() {
25
	tc-export AR
29 26
	# Note this is not an autoconf configure script. econf fails
30 27
	append-flags -DCLK_TCK=CLOCKS_PER_SEC
31 28
	./configure --prefix=/usr --with-c-compiler="$(tc-getCC)" || die "bad configure"
......
36 33
	doman  timed/timed/timed.8
37 34
	dosbin timed/timedc/timedc
38 35
	doman  timed/timedc/timedc.8
39
	dodoc  README ChangeLog BUGS
36
	einstalldocs
40 37

  
41 38
	newinitd "${FILESDIR}"/timed.rc6 timed
42 39
}
Thank you!