Thursday, August 31, 2023

Re: Install port dependencies from packages?

On Thu, Aug 31, 2023 at 17:17 Johannes Thyssen Tishman <
lists@thyssentishman.com> wrote:

> Hi,
>
> Is there is a way to install all {BUILD,LIB,RUN} dependencies before
> trying to build a port by using packages (pkg_add)? What I've been
> doing is using the list provided by 'make {build,run,lib}-depends-list',
> parsing the output and installing them manually. With the -a flag
> from pkg_add I can later uninstall them easily, but I feel like
> there's probably a better way.


What you want is FETCH_PACKAGES, see bsd.port.mk(5):

<https://man.openbsd.org/man5/bsd.port.mk.5#FETCH_PACKAGES>

>

No comments:

Post a Comment