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

Re: RFS: core++



Daniel Baumann <daniel@debian.org> wrote:

>   * a build-depends on gawk | awk doesn't make sense. either you use
>     specifically features of gawk, and then you only depend on gawk, or
>     your depends is fulfilled by any awk implementations, which means,
>     you don't need to list it

Err, no. Virtual packages aren't supposed to be used this way. Whenever
one depends or build-depends on a virtual package, it should be done
just like Joachim did: 'gawk | awk', where gawk is a real package
Providing the virtual package awk; this allows to control which package
is installed when doing non-interactive installations (such as happens
on buildds). It also allows apt frontends to select the default choice
when something depends on awk (but in this case, the user can choose to
install another implentation of awk to satisfy the dependency).

-- 
Florent



Reply to: