[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configurable debian/control & debian/rules



Mathieu Malaterre, le Mon 22 Jun 2009 17:36:31 +0200, a écrit :
> On Mon, Jun 22, 2009 at 4:51 PM, Samuel Thibault<sthibault@debian.org> wrote:
> > Mathieu Malaterre, le Mon 22 Jun 2009 16:13:58 +0200, a écrit :
> >>   My question is simply: how do express that only one Binary package
> >> requires a particular Build-Depends package, but the other remaining
> >> Binary package should be fine ?
> >
> > Mmm, I guess that's more a question for debian-mentors?  dh_shlibdeps
> > will precisely do this automatically for you.
> 
> No, dh_shlibdeps operates on Depends, not on Build-Depends.

Ok, but a Binary package doesn't require a particular build-depends
by itself. The whole build of a source package does. If some arch
doesn't produce a Binary package and for instance that one was the
only one that needs some build-dep to get built (e.g. libasound
for an ALSA plugin), then just add the same arch condition. In the
ALSA plugin case, the build-dep should be libasound [!hurd-i386
!kfreebsd-i386 !kfreebsd-amd64].  There is no need for any other kind of
configurability.

Now, the user may want to rebuild the package for himself with some
features disabled.  To my knowledge that's not something that Debian
handles, however.

Samuel


Reply to: