[med-svn] [aegean] 08/09: use correct build env variable

Sascha Steinbiss sascha at steinbiss.name
Sun Mar 20 11:46:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository aegean.

commit b7a11e4e744996c6a146063b15d67e6cba6b428c
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Sun Mar 20 11:38:59 2016 +0000

    use correct build env variable
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5361584..2ccb151 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ aegean (0.15.2+dfsg-1) unstable; urgency=medium
   * d/watch: make watchfile more robust
   * d/rules: drop unneeded get-orig-source target
   * d/rules: enable full hardening
+  * d/rules: use DEB_TARGET_ARCH_BITS
   * d/control: bump standards version
 
  -- Sascha Steinbiss <sascha at steinbiss.name>  Sun, 20 Mar 2016 11:31:05 +0000
diff --git a/debian/rules b/debian/rules
index 4a0c94e..448efea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ export DESTDIR=$(CURDIR)/debian/tmp
 export LC_ALL=C.UTF-8
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-BITS:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH_BITS | cut -f 2 -d'=')
+BITS:=$(shell dpkg-architecture | fgrep DEB_TARGET_ARCH_BITS= | cut -f 2 -d'=')
 ifeq ($(BITS),64)
   64BIT:=yes
 else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/aegean.git



More information about the debian-med-commit mailing list