Bug 254603 - databases/sqlite3: Make static library optional and don't ship by default
Summary: databases/sqlite3: Make static library optional and don't ship by default
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-27 12:53 UTC by Daniel Engberg
Modified: 2021-04-25 16:45 UTC (History)
1 user (show)

See Also:
pavelivolkov: maintainer-feedback+


Attachments
Patch for sqlite3 (1.37 KB, patch)
2021-03-27 12:53 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg 2021-03-27 12:53:49 UTC
Created attachment 223637 [details]
Patch for sqlite3

Make static library optional and disable by default

Poudriere testport OK 12.2-RELEASE (amd64)
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-03-28 05:46:22 UTC
@Daniel Any particular reason we don't want to ship it by default? This precludes consumers from linking the static library, for whatever purpose
Comment 2 Daniel Engberg 2021-03-28 12:08:57 UTC
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 :-)
Comment 3 Pavel Volkov 2021-03-28 13:06:12 UTC
(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"
Comment 4 Daniel Engberg 2021-03-28 14:16:26 UTC
(In reply to Pavel Volkov from comment #3)
I'm aware but that wasn't my intention ;-)
Comment 5 Daniel Engberg 2021-04-25 16:45:46 UTC
Superseded by 255392