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

Re: recursive build-depends or similar

On Tue, Dec 10, 2002 at 05:54:12PM +0100, Tomas Pospisek's Mailing Lists wrote:

> OTOH - couldn't the build system figure that out for itself - that is
> check libc-client2002(-dev) and find out that it depends on libkrb5-dev
> and make sure it's installed before building the package?

Build-depend on the library that your package uses directly.  Do not attempt
to second-guess the library package's maintainer about the dependencies of
that library; they are specified by the package.  In this case, you should
build-depend on libc-client2002, and not the Kerberos or SSL libraries
(unless your package also uses those directly, in an unrelated context).

 - mdz

Reply to: