From a7508f7ec7d5064cc6171efed974b3d1933f0c2b Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Sun, 11 Oct 2015 15:44:02 +0200 Subject: [PATCH] try to compile on GNU/Hurd too --- debian/control | 2 +- debian/control.in | 2 +- debian/rules | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 0ca197a9bf4..5704021919d 100644 --- a/debian/control +++ b/debian/control @@ -30,7 +30,7 @@ Build-Depends: acl-dev, libsqlite3-dev, libmysqlclient-dev, libpq-dev, logrotate, lsb-release, - mtx, + mtx [!hurd-any], ncurses-dev, pkg-config, po-debconf (>= 0.8.2), diff --git a/debian/control.in b/debian/control.in index bfb88b1922c..ef80af26dc9 100644 --- a/debian/control.in +++ b/debian/control.in @@ -30,7 +30,7 @@ Build-Depends: acl-dev, libsqlite3-dev, libmysqlclient-dev, libpq-dev, logrotate, lsb-release, - mtx, + mtx [!hurd-any], ncurses-dev, pkg-config, po-debconf (>= 0.8.2), diff --git a/debian/rules b/debian/rules index 073ce9f80fc..54b9e33c536 100755 --- a/debian/rules +++ b/debian/rules @@ -81,6 +81,9 @@ endef ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) CONFIGURE_COMMON += --disable-acl --disable-xattr --disable-scsi-crypto --disable-ndmp endif +ifeq ($(DEB_HOST_ARCH_OS),hurd) +CONFIGURE_COMMON += --disable-scsi-crypto --disable-ndmp +endif CONFIGURE_CLIENT_ONLY = $(CONFIGURE_COMMON) --enable-client-only CONFIGURE_FULL = $(CONFIGURE_COMMON) --with-python --enable-traymonitor