Build without redis on Debian squeeze, Ubuntu Lucid
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 12 Jun 2014 13:00:29 +0000 (15:00 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 12 Jun 2014 13:00:29 +0000 (15:00 +0200)
These older platforms have libmemcached5 availble. Dirty hack.

debian/control
debian/rules

index 32b17f3..99f5e04 100644 (file)
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 7),
        libwrap0-dev,
        libmemcached-dev,
        libgcrypt11-dev,
-       libhiredis-dev,
+       libhiredis-dev|libmemcached5,
        libicu-dev
 
 Package: libyaz5
index 54f3a85..af5ac7a 100755 (executable)
@@ -7,7 +7,7 @@ export DH_VERBOSE=1
 override_dh_auto_configure:
        dh_auto_configure -- \
                --enable-tcpd --with-xslt --with-gnutls --with-icu \
-               --with-memcached --with-redis
+               --with-memcached
 
 override_dh_strip:
        dh_strip --dbg-package=libyaz5-dbg