Import patch from Helmut, #794035

This commit is contained in:
Tobias Frost 2015-11-21 16:51:58 +01:00 committed by Jonathan Dowland
parent 66b064a0ae
commit 20a5687ae7
2 changed files with 16 additions and 2 deletions

12
debian/changelog vendored
View 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.

6
debian/rules vendored
View File

@ -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 \