[Pkg-acpi-devel] Bug#696213: acpid: Please use dh_auto_configure for cross-build support
Steve Langasek
steve.langasek at canonical.com
Tue Dec 18 07:10:20 UTC 2012
Package: acpid
Version: 1:2.0.17-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch
Dear maintainers,
In Ubuntu, we've applied the attached patch to the acpid package to enable
cross-building. The dh_auto_configure command has built-in support for
cross-building with autoconf, but your debian/rules bypasses this in order
to pass additional CFLAGS. This patch reworks the approach to use the newer
DEB_CFLAGS_MAINT_{APPEND,PREPEND} interfaces and avoid overriding
dh_auto_configure at all.
Note that debhelper compat level 9 is required in order for
dh_auto_configure to consider the dpkg-buildflags output. If this is not
acceptable, you can get a similar result by invoking dh_auto_configure --
CFLAGS=$(...).
The changelog entry for this Ubuntu upload is:
* Bump to debhelper compat level 9 and use the
DEB_CFLAGS_MAINT_{APPEND_PREPEND} options to change flags, trusting
dh_auto_configure to do the right thing, so that we get support for
cross-compilation and other niceties.
Please consider applying this patch in Debian,
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 --------------
A non-text attachment was scrubbed...
Name: acpid_1:2.0.17-1ubuntu2.debdiff
Type: text/x-diff
Size: 1395 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20121217/6040d640/attachment.diff>
More information about the Pkg-acpi-devel
mailing list