commit: dfc54f1fdca4c1aa0c20a2168d85fadcb6fdd6b9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri May 12 02:40:50 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 12 02:55:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc54f1f
net-libs/libident: wire up (restricted) tests Interactive. Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/libident/libident-0.32-r1.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net-libs/libident/libident-0.32-r1.ebuild b/net-libs/libident/libident-0.32-r1.ebuild index e225b30168ef..5faec7595bc3 100644 --- a/net-libs/libident/libident-0.32-r1.ebuild +++ b/net-libs/libident/libident-0.32-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,6 +12,9 @@ SRC_URI="http://people.via.ecp.fr/~rem/libident/${P}.tar.bz2" LICENSE="public-domain" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86" +IUSE="test" +# Interactive tests only. +RESTRICT="!test? ( test ) test" src_prepare() { default @@ -19,7 +22,9 @@ src_prepare() { } src_configure() { - econf --disable-static + econf \ + --disable-static \ + $(use_enable test testers) } src_install() {