]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Import patch from Helmut, #794035
authorTobias Frost <tobi@coldtobi.de>
Sat, 21 Nov 2015 15:51:58 +0000 (16:51 +0100)
committerJonathan Dowland <jmtd@debian.org>
Thu, 26 Nov 2015 11:25:15 +0000 (11:25 +0000)
debian/changelog
debian/rules

index 81db3b35bd4a4d6121b9831a7a1537057b669ebb..06952006a3ae115a5209e27e061274d12b682ee4 100644 (file)
@@ -1,3 +1,15 @@
+smartmontools (6.4+svn4109-2) UNRELEASED; urgency=medium
+
+  [ Helmut Grohne ]
+  * Non-maintainer upload.
+  * Fix FTCBFS. (Closes: #794035)
+    + Pass --build and --host to configure
+
+  [ Tobias Frost ]
+  * Import patch from Helmut (see above)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 30 Jul 2015 01:18:49 +0200
+
 smartmontools (6.4+svn4109-1) unstable; urgency=medium
 
   * New upstream version. Closes: #789721.
index aebaaeaf34286e4a8fa8c49e4154915b42c2a26a..2aae688e65f25bd28d5193b305cc7a097538992a 100755 (executable)
@@ -9,8 +9,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
-DEB_BUILD_ARCH_OS  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
-DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
        CONFIGURE_ARGS += --with-selinux
@@ -53,6 +53,8 @@ configure-stamp:
        dh_testdir
        ./autogen.sh
        CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr                \
+                               --build=$(DEB_BUILD_GNU_TYPE) \
+                               --host=$(DEB_HOST_GNU_TYPE) \
                                --sysconfdir=/etc                \
                                --mandir=/usr/share/man          \
                                --with-initscriptdir=no \