Created attachment 223637 [details] Patch for sqlite3 Make static library optional and disable by default Poudriere testport OK 12.2-RELEASE (amd64)
@Daniel Any particular reason we don't want to ship it by default? This precludes consumers from linking the static library, for whatever purpose
We already have many packages only providing shared libraries especially since many are moving away or have already made the transition from GNU Autools where static libraries cases aren't enabled by default or for instance aren't supported without building the project twice (quite common for CMake projects in that regard as an example). Shared libraries are also the main target regarding compatibility between ports and additionally this seems to be the common practice among other distributions (most provide a separate "sub"-package if any at all for static libraries). It's also been discussed in #bsdports by several members and the general opinion each time is that they shouldn't be shipped at all or at least not by default. I'm also guessing that it has been a topic for quite some time given it's in Mk/bsd.options.desc.mk :-)
(In reply to daniel.engberg.lists from comment #2) Hello. Instead of creating subpackages, flavors can be used as described: "https://docs.freebsd.org/en_US.ISO8859-1/books/porters-handbook/flavors-using.html"
(In reply to Pavel Volkov from comment #3) I'm aware but that wasn't my intention ;-)
Superseded by 255392