dh $@
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+# Until https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739834 is fixed
+export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/hiredis
override_dh_auto_configure:
dh_auto_configure -- -DCONFDIR=/etc/rspamd \
-DINSTALL_EXAMPLES=ON \
-DFORCE_GMIME24=ON \
-DRSPAMD_GROUP=rspamd \
- -DRSPAMD_USER=_rspamd
-# \
-# -DENABLE_HIREDIS=ON
+ -DRSPAMD_USER=_rspamd \
+ -DENABLE_HIREDIS=ON
override_dh_auto_clean:
dh_auto_clean