Dependencies: base vs. ports (Was: Re: ports/187468)

Alexey Dokuchaev danfe at
Wed Mar 12 04:48:51 UTC 2014

On Tue, Mar 11, 2014 at 07:50:37PM -0500, Bryan Drewery wrote:
> This goes against our plans to have all ports depend only on ports. I
> admit this has not been communicated well. libexecinfo should probably
> be moved to /usr/lib/private on head to prevent ports from using it.

[ Taking this to ports@ as it deems important on its own ]

What's wrong with depending on system libraries?  OSVERSION check does
indeed make it a bit hackish; I would use !exists(/usr/include/execinfo.h)
instead, but the change itself is fine, I also do so (cf. biology/ugene).

Any port depends on our libc.  Shall we package it as well?  Many ports
depend on zlib, bzip2 (all in the base), etc.  Does this plan of yours say
that soon we would have to add archivers/bzip2 in LIB_DEPENDS for any port
that wants to link against libbz2?

Was it discussed somewhere, in public?  Because it is certainly news for
me; moreover, I *like* to depend on base for simple things, just as I like
to use system compiler whenever possible.


More information about the freebsd-ports mailing list