[Bug 291447] ports-mgmt/synth: "www/apache24: has more dependencies than the port requires"

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 Dec 2025 18:29:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291447

--- Comment #10 from John Marino <freebsd@marino.st> ---
I believe there's a defined make variable called "SYNTHPROFILE" that will
always be defined inside a synth building jail that could be used.

I wouldn't recommend this approach -- anything check that relies on a
dependency to already be installed is bad practice.

I took a look at the APR1 port - I can see it's grouped a bunch of databases
together in an group option and set gdbm as the default option.  I still think
the best approach is to move gdbm out of the option group and build it
unconditionally, and let the other database remain optional.

If that's not desirable, you could always load the apr makefile and evaluate
the option variables to see if "GDBM" is within the selected list, but are
performance impacts with that, of course.

-- 
You are receiving this mail because:
You are the assignee for the bug.