summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a72617)
raw | patch | inline | side by side (parent: 0a72617)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 5 Mar 2008 19:21:17 +0000 (20:21 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 5 Mar 2008 19:21:17 +0000 (20:21 +0100) |
libvirt is only available on those platforms.
debian/control | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/control b/debian/control
index d2b875a8aa4c144fcab0ba364bec912739abdc21..e779a36534801931061dd815a496e374342d10f6 100644 (file)
--- a/debian/control
+++ b/debian/control
Section: utils
Priority: optional
Maintainer: Sebastian Harl <sh@tokkee.org>
-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 21ba803b61683b94bda7a8fbadf71564af364e82..9e16d997400f52ea259173b088f53adc1269eccb 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
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)