Use sqlite instead of the bundled one for kerberos
Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I believe the heimdal architecture is such that this swap should "just work", but should probably think about it a little bit more before accepting the revision.
Makefile.inc1 | ||
---|---|---|
1805 ↗ | (On Diff #5189) | This seems like it requires a bit more thought -- lib/libsqlite3/Makefile already has LIBADD+=pthread; it's not clear that this extra (conditional!) dependency is correct. |
1821 ↗ | (On Diff #5189) | Is there harm from unconditionally adding libsqlite3 to prebuild_libs? In any case, I do not think that "_libsqlite3" is the appropriate name for a variable conditional on MK_KERBEROS. |
Makefile.inc1 | ||
---|---|---|
1805 ↗ | (On Diff #5189) | I have followed the exact same syntax that was used for libheimsqlite which also had the dependency on pthread defined on its Makefile. iirc those declaration are to avoid races when building the "prebuild" libs |
1821 ↗ | (On Diff #5189) | Just trying to be consistent with _libcom_err 2 lines below. |
Looks good, thanks!
Makefile.inc1 | ||
---|---|---|
1805 ↗ | (On Diff #5189) | bapt is right, these lines in Makefile.inc1 are there to provide correct ordering. LIBADD does not affect build ordering, so it might end up trying to link agains libthr before it's actually available. |
1821 ↗ | (On Diff #5189) | As an alternative we can just introduce MK_SQLITE3 and make MK_KERBEROS set it to "yes". Not sure if it worth it. Is there anything else that uses sqlite3 at the moment? |
Makefile.inc1 | ||
---|---|---|
1821 ↗ | (On Diff #5189) | Currently the users for sqlite3 are: mandoc, kerberos and svnlite as soon as I switch makewhatis to mandoc version then there will be another consumer for prebuilt sqlite3 |
Makefile.inc1 | ||
---|---|---|
1821 ↗ | (On Diff #5189) | I will accept this revision as-is, since it works, but would also be fine with unconditionally adding sqlite3 to prebuild_libs |