]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Do not Build-depends in libcap-ng-dev in armel, libcap-ng is broken in this arch.
authorGiuseppe Iuculano <iuculano@debian.org>
Sun, 11 Oct 2009 07:37:41 +0000 (09:37 +0200)
committerGiuseppe Iuculano <iuculano@debian.org>
Sun, 11 Oct 2009 07:37:41 +0000 (09:37 +0200)
Closes: #548438
debian/rules

index 9a8b2e80daf2f656d307169d13f16fc947dd95b7..603ca2e03404cc70b31833f651d5a4158ca80e61 100755 (executable)
@@ -9,10 +9,16 @@
 include /usr/share/quilt/quilt.make
 
 DEB_BUILD_ARCH_OS  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+
 ifeq ($(DEB_HOST_ARCH_OS),linux)
        CONFIGURE_ARGS += --with-selinux
 endif
 
+ifeq ($(DEB_BUILD_ARCH_CPU),armel)
+       CONFIGURE_ARGS += --without-libcap-ng 
+endif
+
 CFLAGS += -fsigned-char -Wall
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
         CFLAGS += -O0