From 65ee005e150d40a5680f854a19d1221dcf55cb26 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 15 Feb 2024 12:07:58 +0200 Subject: [PATCH] sys-process/nq: update live Signed-off-by: Alfred Wingate --- sys-process/nq/nq-9999.ebuild | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/sys-process/nq/nq-9999.ebuild b/sys-process/nq/nq-9999.ebuild index 044aab0..30b6626 100644 --- a/sys-process/nq/nq-9999.ebuild +++ b/sys-process/nq/nq-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Unix command line queue utility" HOMEPAGE="https://github.com/leahneukirchen/nq" @@ -16,9 +16,27 @@ fi LICENSE="CC0-1.0" SLOT="0" -RESTRICT="mirror" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + !dev-gap/nq + !dev-util/fq +" + +BDEPEND=" + test? ( + dev-lang/perl + ) +" + +src_prepare() { + default + + sed -i -e 's/CFLAGS=/CFLAGS?=/' Makefile || die +} src_install() { - emake DESTDIR="${D}" PREFIX="/usr" install - dodoc *.md + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install }