From 9fc298f4bb417605d5efff9a07655e70d80c830c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 8 Mar 2022 02:01:50 +0000 Subject: [PATCH] d/rules: Explicitly disable JS-based tests where unreliable Otherwise we'd build and install these tests if gjs (maybe an old version) happens to be installed, despite it not being in Build-Depends. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 2339dea1..353abe8a 100755 --- a/debian/rules +++ b/debian/rules @@ -27,6 +27,10 @@ configure_options = \ --without-smack \ $(NULL) +ifneq ($(filter alpha hppa ia64 m68k s390x sh4 sparc64 x32,$(DEB_HOST_ARCH)),) +configure_options += GJS=/nonexistent/gjs +endif + ifneq ($(filter libostree-doc,$(binaries)),) configure_options += --enable-gtk-doc else