summaryrefslogtreecommitdiff
path: root/sys-process/time/time-1.9-r1.ebuild
blob: 2b7d613fb614ab4c64a1b580c02a0f8fb68e44b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic

DESCRIPTION="Displays info about resources used by a program"
HOMEPAGE="https://www.gnu.org/directory/time.html"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"

BDEPEND="sys-apps/texinfo"

PATCHES=(
	"${FILESDIR}"/${PN}-1.9-implicit-func-decl-clang.patch
)

src_configure() {
	# https://savannah.gnu.org/bugs/index.php?66450
	append-cflags -std=gnu17

	econf
}