[opencv] 06/11: d/rules: use /usr/share/dpkg/architecture.mk instead of shelling out to dpkg-architecture

Mattia Rizzolo mattia at debian.org
Mon Oct 16 22:03:56 UTC 2017


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

mattia pushed a commit to branch master
in repository opencv.

commit 3cb04ad207399287ec9ef7c7f637520d1e2c2f3d
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Oct 16 22:28:54 2017 +0200

    d/rules: use /usr/share/dpkg/architecture.mk instead of shelling out to dpkg-architecture
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 323d89b..d6622a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+include /usr/share/dpkg/architecture.mk
 
 BUILDDIR = obj-$(DEB_HOST_MULTIARCH)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list