From 9ec609e6ea97e365ca1737eebac008cf58c6cfe8 Mon Sep 17 00:00:00 2001 From: Jeremy Bicha Date: Sun, 19 Sep 2021 13:56:31 -0400 Subject: Don't try to build webkitgtk feature where webkitgtk isn't available --- debian/rules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index e7b30eb5..6a5f09ce 100755 --- a/debian/rules +++ b/debian/rules @@ -3,10 +3,14 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs +ifeq (,$(filter $(DEB_HOST_ARCH), ia64 kfreebsd-amd64 kfreebsd-i386 sh4)) + ENABLE_WEBKIT = -Dwebkitgtk=true +endif + %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ - -Dlibnotify=true \ - -Dwebkitgtk=true + $(ENABLE_WEBKIT) \ + -Dlibnotify=true -- cgit