How to create lib (and run) dependency list at Makefile

Matthew Seaman matthew at freebsd.org
Tue Aug 13 07:25:03 UTC 2013


On 13/08/2013 05:25, Kevin Oberman wrote:
> First, when rolling a port it is impractical to try to track down every
> library that a library I need links to. And it is totally unnecessary For
> the port and package, as the ports system automagically take care of
> including dependencies of dependencies. When running he executable, the
> rtld takes care of all of this.

pkg info -B pkg-name

should give you a comprehensive list of shared libraries required by any
package -- but you are right in that you should not need to specify
every LIB_DEPENDs for all of those 2nd or 3rd hand dependencies.

	Cheers,

	Matthew


More information about the freebsd-ports mailing list