[Build-common-hackers] Bug#617841: cdbs: support for exporting multiarch path variable

Steve Langasek steve.langasek at canonical.com
Fri Mar 11 18:52:08 UTC 2011


Package: cdbs
Version: 0.4.90
Severity: wishlist
Tags: patch
User: vorlon at debian.org
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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
=== 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)




More information about the Build-common-hackers mailing list