[SCM] QImageBlitz packaging branch, master, updated. debian/0.0.6-4-12-g17b9753

Pino Toscano pino at moszumanska.debian.org
Mon Jun 26 17:53:33 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-req/qimageblitz.git;a=commitdiff;h=481b5c2

The following commit has been merged in the master branch:
commit 481b5c209a131db7a426adf0a5f2ab8e782c4ee2
Author: Helmut Grohne <helmut at subdivi.de>
Date:   Mon Jun 26 19:38:14 2017 +0200

    Fix build/host confusion in rules (#839283)
---
 debian/changelog | 3 +++
 debian/rules     | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4f82821..e94bcca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,9 @@ qimageblitz (1:0.0.6-5~) UNRELEASED; urgency=medium
   * Backport upstream r1203426 to use the proper C compiler when building
     assembler sources; patch r1203426.diff.
 
+  [ Helmut Grohne ]
+  * Fix build/host confusion in rules. (Closes: #839283)
+
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 29 Aug 2015 11:38:20 +0200
 
 qimageblitz (1:0.0.6-4) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 1e7b9d5..ca68a75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,12 @@ cpu_opt_i386 = 3dnow mmx sse sse2 sse3
 cpu_opt_amd64 = 3dnow mmx sse sse2 sse3
 cpu_opt_powerpc = altivec
 
-build_arch_opts = $(cpu_opt_$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU))
+host_arch_opts = $(cpu_opt_$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU))
 
-ifneq (,$(build_arch_opts))
+ifneq (,$(host_arch_opts))
 
 override_dh_auto_configure:
-	$(overridden_command) -- $(shell echo $(foreach opt,$(build_arch_opts),-DHAVE_$(opt)=ON) | tr '[:lower:]' '[:upper:]')
+	$(overridden_command) -- $(shell echo $(foreach opt,$(host_arch_opts),-DHAVE_$(opt)=ON) | tr '[:lower:]' '[:upper:]')
 
 endif
 

-- 
QImageBlitz packaging



More information about the pkg-kde-commits mailing list