tech-pkg archive

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

Re: bulk vs. options vs. buildlink

Joerg Sonnenberger <> schrieb:
> Actually, it does. Installed packages are not supposed to be considered
> a builtin and therefore the dependency computation from pbulk is
> supposed to be invariant to whether or not the dependencies are

Ah, I see, so pbulk is not directly involved.

> installed. What you hit is a problem with the files, where
> a dependency is pulled in, that doesn't actually exist in the
> corresponding package.

Well, openldap-client pulls in as a dependency cyrus-sasl, and the
dependency does not actually exist in the sense that openldap-client
is built-in on NetBSD and thus any dependency should be, too. So
it seems to me that to fix this, one would have to touch either
the files for all packages that may be built-in and
which may pull in non-built-in dependencies, or mk/

I don't know what's better. The first solution would require to
touch only a few packages:


However, future care would be required when adding optional
dependencies to built-in packages. The second approach appears
safer but might be complicated, as one would have to make sure that
dependencies of built-ins also appearing as true dependencies are

Does this make sense? Are there better solutions?


Dennis den Brok

Home | Main Index | Thread Index | Old Index