diff options
author | 2023-05-31 04:13:58 +0100 | |
---|---|---|
committer | 2023-05-31 04:13:58 +0100 | |
commit | 932f1e8726ce40f5575371c44e539b81624badfd (patch) | |
tree | e6c47f7c6027d52c82bf90f982c13a5240e5f2b9 /dev-libs | |
parent | media-tv/kodi: fix build w/ new flatbuffers (diff) | |
download | gentoo-932f1e8726ce40f5575371c44e539b81624badfd.tar.gz gentoo-932f1e8726ce40f5575371c44e539b81624badfd.tar.bz2 gentoo-932f1e8726ce40f5575371c44e539b81624badfd.zip |
dev-libs/expat: conditionally build tests
Closes: https://bugs.gentoo.org/906512
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/expat/expat-2.5.0.ebuild | 5 |
1 files 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 |