On 13/03/2026 18:36, bob prohaska wrote:
On Fri, Mar 13, 2026 at 10:54:02AM +0100, Miroslav Lachman wrote:

Years ago, a similar problem (the long time needed to build dependencies for
documentation) led to the definition of this in our Poudriere setup:

    OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS

Placed in /usr/local/etc/poudriere.conf ?

It should be in /usr/local/etc/poudriere.d/make.conf or <setname>-make.conf or <tree>-make.conf or...

The resulting packages are for headless machines, build is faster, the
resulting packages are smaller, dependency chain is shorter, install and
upgrade times are shorter.

That's what I'm seeking.

The disadvantage is that many build dependencies
have different options than in the official repository, so they cannot be
pre-fetched and must also be built.

Is that another way of saying "Use ports _or_ pkg, not both"?

You can control it from poudriere.conf, there are variables that will affect it:

PACKAGE_FETCH_BRANCH=latest
PACKAGE_FETCH_URL=pkg+http://pkg.FreeBSD.org/\${ABI}
PACKAGE_FETCH_BLACKLIST=""
PACKAGE_FETCH_WHITELIST="gcc* rust llvm*"

Kind regards
Miroslav Lachman


Reply via email to