Sunday, April 26, 2020

Re: explanation of FETCH_PACKAGES in ports(7)

On Sun, Apr 26, 2020 at 04:42:06PM +0200, f.holop wrote:
> i am having difficulties understanding this sentence, could someone
> help me out?
>
>
> FETCH_PACKAGES
> If set, try to use as options to pkg_add(1) to install the
> missing packages from PKG_PATH. For instance:
>
> make FETCH_PACKAGES=
In order to satisfy dependencies of the port you're building, our
framework usually goes ahead and builds them from the ports tree.

With FETCH_PACKAGES set, `pkg_add ${FETCH_PACKAGES} ...' is used to
install prebuilt packages instead, that is to avoid building all
dependencies from source.

FETCH_PACKAGES=-Dsnap can be used to do ports development on snapshot
and/or current.

No comments:

Post a Comment