Package: cdbs
Version: 0.4.90
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: multiarch
Hi there,
Multiarch support is coming to Debian soon. It would be helpful if cdbs
would start exporting DEB_HOST_MULTIARCH along with the other standard
dpkg-architecture variables. (This variable will only be available once
dpkg 1.16.0 is uploaded; however there's no reason for cdbs not to start
exporting it now, it will just be empty until dpkg support is in place.)
The attached patch has already been applied in Ubuntu, with the following
changelog explanation:
* 1/rules/buildvars.mk.in: export DEB_HOST_MULTIARCH from dpkg-architecture
(if present).
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
=== modified file '1/rules/buildvars.mk.in'
--- 1/rules/buildvars.mk.in 2011-01-14 22:05:36 +0000
+++ 1/rules/buildvars.mk.in 2011-03-11 18:43:14 +0000
@@ -75,6 +75,7 @@
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)