aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index b96c068c6..9c17eecfb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
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 \
@@ -19,9 +21,8 @@ override_dh_auto_configure:
-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