commit: 932f1e8726ce40f5575371c44e539b81624badfd Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 31 03:13:58 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 31 03:13:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932f1e87
dev-libs/expat: conditionally build tests Closes: https://bugs.gentoo.org/906512 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/expat/expat-2.5.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-libs/expat/expat-2.5.0.ebuild b/dev-libs/expat/expat-2.5.0.ebuild index 0fb12e1379eb..16e5df511891 100644 --- a/dev-libs/expat/expat-2.5.0.ebuild +++ b/dev-libs/expat/expat-2.5.0.ebuild @@ -13,7 +13,8 @@ SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/ex LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples static-libs unicode" +IUSE="examples static-libs test unicode" +RESTRICT="!test? ( test )" BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )" DOCS=( README.md ) @@ -37,7 +38,7 @@ src_prepare() { } multilib_src_configure() { - local myconf="$(use_enable static-libs static) --without-docbook" + local myconf="$(use_with test tests) $(use_enable static-libs static) --without-docbook" mkdir -p "${BUILD_DIR}"w || die
