On Thu, 6 Jun 2024 15:16:33 +0200 Miroslav Lachman <000.f...@quip.cz> wrote:
> On 06/06/2024 14:30, Martin Waschbüsch wrote: > > Hello port list, > > > > I use poudriere to create my own repositories for typical > > webservers we run (apache, mariadb, php). > > > > Some change(s) in some port(s) seem to have introduced loads of > > additional dependencies (X, wayland, gtk) mostly unwanted on the > > type of system we run. > > > > I know how to find out dependencies for installed packages, but > > that does not help here as the packages are not yet built. > > > > Is there a way (other than searching the commit logs for all > > packages I plan to build) to pinpoint the package(s) that > > introduced the new dependency? If you have the ports tree extracted and updated, running: $ cd /usr/ports/`pkg info -qo foo` $ make all-depends-list … in the package port dir and its direct dependencies shall let you figure it out. Please do note that dependencies may change depending on the choice of OPTIONS. Packages are built with the defaults chosen by port maintainers. If your ports tree is indeed a git repo with something like this you shall get a sinking list of changes made to Makefiles of your affected port/package dependencies: $ cd /usr/ports/`pkg info -qo foo` $ make all-depends-list | sed -e 's@/usr/ports@../..@; s@$@/Makefile@;' | xargs git log -p -- Piotr Smyrak