From: Sebastian Harl Date: Wed, 5 Mar 2008 19:21:17 +0000 (+0100) Subject: Restrict libvirt to amd64, i386 and powerpc. X-Git-Tag: collectd-4.3.0-2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cabe0f0954b83379ed481e82ae333f8aa48e33b1;p=pkg-collectd.git Restrict libvirt to amd64, i386 and powerpc. libvirt is only available on those platforms. --- diff --git a/debian/control b/debian/control index d2b875a..e779a36 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: collectd Section: utils Priority: optional Maintainer: Sebastian Harl -Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.10), po-debconf, dpatch, bison | byacc, flex, autotools-dev, libcurl4-gnutls-dev | libcurl3-gnutls-dev, libmysqlclient15-dev | libmysqlclient14-dev, librrd2-dev | librrd0-dev, libsensors-dev, liboping-dev (>= 0.3.3), libpcap0.8-dev | libpcap-dev, iptables-dev [!alpha !amd64 !hppa !ia64 !ppc64], nut-dev [!alpha !amd64 !hppa !ia64 !ppc64], libperl-dev, iproute-dev, libsnmp-dev | libsnmp9-dev, libvirt-dev, libxml2-dev, libhal-dev +Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.10), po-debconf, dpatch, bison | byacc, flex, autotools-dev, libcurl4-gnutls-dev | libcurl3-gnutls-dev, libmysqlclient15-dev | libmysqlclient14-dev, librrd2-dev | librrd0-dev, libsensors-dev, liboping-dev (>= 0.3.3), libpcap0.8-dev | libpcap-dev, iptables-dev [!alpha !amd64 !hppa !ia64 !ppc64], nut-dev [!alpha !amd64 !hppa !ia64 !ppc64], libperl-dev, iproute-dev, libsnmp-dev | libsnmp9-dev, libvirt-dev [amd64 i386 powerpc], libxml2-dev, libhal-dev Build-Conflicts: libpthread-dev Standards-Version: 3.7.3 Homepage: http://collectd.org/ diff --git a/debian/rules b/debian/rules index 21ba803..9e16d99 100755 --- a/debian/rules +++ b/debian/rules @@ -45,6 +45,11 @@ ifneq (,$(findstring $(DEB_BUILD_ARCH),alpha amd64 hppa ia64 ppc64)) confflags += --disable-iptables --disable-netlink --disable-nut endif +# libvirt is only available on amd64, i386 and powerpc. +ifeq (,$(findstring $(DEB_BUILD_ARCH),amd64 i386 powerpc)) + confflags += --disable-libvirt +endif + config.status: configure $(DPATCH_STAMPFN) dh_testdir CFLAGS="$(CFLAGS)" ./configure $(confflags)