[Bug 291447] ports-mgmt/synth: "www/apache24: has more dependencies than the port requires"
Date: Mon, 08 Dec 2025 20:07:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291447 --- Comment #7 from John Marino <freebsd@marino.st> --- Well, the main thing I wanted to impart is that it is a logical flaw to test the existence of a file that a dependency has to install in the makefile. You have to assume that NO PACKAGES are installed. Or in other words, the evaluation of LIB_DEPENDS changes depending on what is installed in the system. That's a logical error. The value of LIB_DEPENDS should be the same in all cases. The simplest fix would be to have APR-1 build against GDBM unconditionally. Why is this an option? It's the default. If APR-1 was adjusted to ALWAYS build against gdbm, then apache24 could also unconditionally add it. Otherwise, there ARE ways to read saved option files (grep , awk) but obviously that's not the cleanest. But at least it would be correct. -- You are receiving this mail because: You are the assignee for the bug.