commit: 84ab309966168518a25b81b3b99b78dee2c35f7c Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Sat Oct 19 09:03:50 2024 +0000 Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> CommitDate: Sat Oct 19 09:03:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84ab3099
sys-process/snooze: fix CFLAGS Closes: https://bugs.gentoo.org/847202 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> sys-process/snooze/snooze-0.5.ebuild | 10 +++++++--- sys-process/snooze/snooze-9999.ebuild | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/sys-process/snooze/snooze-0.5.ebuild b/sys-process/snooze/snooze-0.5.ebuild index a7f68d474..5464c15f9 100644 --- a/sys-process/snooze/snooze-0.5.ebuild +++ b/sys-process/snooze/snooze-0.5.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Run a command at a particular time" HOMEPAGE="https://github.com/leahneukirchen/snooze" @@ -11,7 +11,11 @@ LICENSE="CC0-1.0" SLOT="0" KEYWORDS="~amd64 ~x86" +src_compile() { + emake CFLAGS="${CFLAGS}" +} + src_install() { - emake DESTDIR="${D}" PREFIX=/usr install + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install dodoc {README,NEWS}.md } diff --git a/sys-process/snooze/snooze-9999.ebuild b/sys-process/snooze/snooze-9999.ebuild index e7df9d007..171d2e39d 100644 --- a/sys-process/snooze/snooze-9999.ebuild +++ b/sys-process/snooze/snooze-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Run a command at a particular time" HOMEPAGE="https://github.com/leahneukirchen/snooze" @@ -12,7 +12,11 @@ EGIT_REPO_URI="https://github.com/leahneukirchen/snooze.git" LICENSE="CC0-1.0" SLOT="0" +src_compile() { + emake CFLAGS="${CFLAGS}" +} + src_install() { - emake DESTDIR="${D}" PREFIX=/usr install + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install dodoc {README,NEWS}.md }
