Hi, 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 > >to > >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 expanded. 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. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil