commit:     d68ab2233e50359bde9d10d5abed8cd1e979d9c1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 28 04:33:03 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Aug 28 04:34:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68ab223

app-portage/iwdevtools: add -Dtest check for live ebuild

Not strictly necessary but may be good to avoid possible
compiling failures when compiling is only needed for tests.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-portage/iwdevtools/iwdevtools-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-portage/iwdevtools/iwdevtools-9999.ebuild 
b/app-portage/iwdevtools/iwdevtools-9999.ebuild
index 94f757693e2..6909777369a 100644
--- a/app-portage/iwdevtools/iwdevtools-9999.ebuild
+++ b/app-portage/iwdevtools/iwdevtools-9999.ebuild
@@ -25,7 +25,7 @@ RDEPEND="
 BDEPEND="test? ( ${RDEPEND} )"
 
 src_configure() {
-       meson_src_configure -Ddocdir=${PF}
+       meson_src_configure -Ddocdir=${PF} $(meson_use test)
 }
 
 pkg_postinst() {

Reply via email to