summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2021-09-19 13:56:31 -0400
committerJeremy Bicha <jbicha@debian.org>2021-09-19 14:01:19 -0400
commit9ec609e6ea97e365ca1737eebac008cf58c6cfe8 (patch)
treea08db133303f19494eaf29e27956ce4f84ee80ce
parentreleasing package zenity version 3.41.0-1 (diff)
downloadzenity-9ec609e6ea97e365ca1737eebac008cf58c6cfe8.tar.gz
zenity-9ec609e6ea97e365ca1737eebac008cf58c6cfe8.tar.bz2
zenity-9ec609e6ea97e365ca1737eebac008cf58c6cfe8.zip
Don't try to build webkitgtk feature where webkitgtk isn't available
-rwxr-xr-xdebian/rules8
1 files changed, 6 insertions, 2 deletions
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
bgstack15