[Build-common-hackers] Bug#205395: Bug#205395: DEB_BUILD_DEPENDENCIES still not overwriteable
nomeata at debian.org
Fri Jul 10 17:22:58 UTC 2009
Am Freitag, den 10.07.2009, 16:39 +0200 schrieb Jonas Smedegaard:
> On Fri, Jul 10, 2009 at 12:07:46PM +0200, Joachim Breitner wrote:
> >setting DEB_BUILD_DEPENDENCIES in debian/rules still does not work. I
> >think you need to change
> >DEB_BUILD_DEPENDENCIES = build-arch build-indep
> >DEB_BUILD_DEPENDENCIES ?= build-arch build-indep
> >in /usr/share/cdbs/1/rules/buildcore.mk
> Thanks for noticing.
> It seems to me that you are partially right - if DEB_BUILD_DEPENDENCIES
> is set _above_ inclusion of cdbs snippets then it gets overridden.
> Could you please test if it works if you set DEB_BUILD_DEPENDENCIES
> _below_ inclusion of cdbs snippets?
> Also, what is your use case for setting this? (just curious - you need
> not comment on this part).
I tried both. I think the variable is expanded the moment it occurs on
the dependency line of a rule, thus exactly at the next after the
variable is set. Thus if I put the variable in front, it will be
overriden, and if I put it afterwards, the wrong value was already
The problem I want to solve is that, although cdbs follows policy here,
reality is that "dpkg-buildpackage -B" calls "build" (not "build-arch"),
and I don’t want to run the build-indep stuff in this case.
Joachim "nomeata" Breitner
nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
More information about the Build-common-hackers