summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-01 19:13:01 +0100
committerSam James <sam@gentoo.org>2023-05-01 19:13:01 +0100
commit1c0f91eb56414bad25108797a1a00f9a1d17c10e (patch)
treeef69950b191ff7d74b0f4bce1fba7ca65d46104c /dev-libs/libdnet
parentnet-mail/automx2: enable py3.11 (diff)
downloadgentoo-1c0f91eb56414bad25108797a1a00f9a1d17c10e.tar.gz
gentoo-1c0f91eb56414bad25108797a1a00f9a1d17c10e.tar.bz2
gentoo-1c0f91eb56414bad25108797a1a00f9a1d17c10e.zip
dev-libs/libdnet: properly conditionally build tests
Closes: https://bugs.gentoo.org/852122 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libdnet')
-rw-r--r--dev-libs/libdnet/libdnet-1.16.1.ebuild2
-rw-r--r--dev-libs/libdnet/libdnet-1.16.2.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index 40bdc4cf9eaf..ae421db27101 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.ebuild
@@ -55,7 +55,7 @@ src_prepare() {
src_configure() {
econf \
$(use_with python) \
- --with-check=$(usex test "${ESYSROOT}/usr")
+ $(use_with test check "${ESYSROOT}/usr")
}
src_compile() {
diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index b75d19b5261f..13f24f3bd5c2 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.ebuild
@@ -55,7 +55,7 @@ src_prepare() {
src_configure() {
econf \
$(use_with python) \
- --with-check=$(usex test "${ESYSROOT}/usr")
+ $(use_with test check "${ESYSROOT}/usr")
}
src_compile() {