]> source.dussan.org Git - rspamd.git/commitdiff
Re-enable packaged hiredis
authorMikhail Gusarov <dottedmag@dottedmag.net>
Sun, 23 Feb 2014 08:40:45 +0000 (09:40 +0100)
committerMikhail Gusarov <dottedmag@dottedmag.net>
Sun, 23 Feb 2014 08:40:45 +0000 (09:40 +0100)
debian/rules

index b96c068c624831746478477dc69daa496d3d6bb6..9c17eecfb3a45bf47eb3c50389071be796b53201 100755 (executable)
@@ -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