Created attachment 177066 [details] Update Port: databases/sqlite3 to 3.15.1 - Updated to current version 3.15.1 - Added dependency into file sqlite3.pc (See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214551#c1)
Created attachment 177067 [details] portlint log
Created attachment 177068 [details] build log
Comment on attachment 177066 [details] Update Port: databases/sqlite3 to 3.15.1 > +pre-configure: > +.if ${PORT_OPTIONS:MICU} > + @${ECHO_CMD} "Requires.private: icu-i18n" >> ${WRKSRC}/sqlite3.pc.in > +.endif Convert to option helpers, see /usr/ports/CHANGES from 20150701. However, to drop bsd.port.options.mk line pre-configure conditional needs to use sh(1) syntax rather than make(1). > +.if ${PORT_OPTIONS:MEDITLINE} > + @${ECHO_CMD} "Requires.private: libedit" >> ${WRKSRC}/sqlite3.pc.in > +.endif Does anything link against bin/sqlite3 rather than lib/libsqlite3.so ? "Libs.private: -lpthread" for THREADS option (via LDFLAGS -> LIBS) would make more sense.
_LDFLAGS -> _LIBS would work for both THREADS and ICU because sqlite3.pc.in already contains "Libs.private: @LIBS@".more correct Note, the update is also required for firefox 52 to arrive around 2017-03-07. > lib/libsqlite3.so A typo: s/.so/.a/
A commit references this bug: Author: jbeich Date: Wed Nov 16 18:10:35 UTC 2016 New revision: 426253 URL: https://svnweb.freebsd.org/changeset/ports/426253 Log: databases/sqlite3: update to 3.15.1 - Add missing deps for `pkg-config sqlite3 --libs --static` Changes: https://sqlite.org/releaselog/3_15_1.html ABI: https://abi-laboratory.pro/tracker/timeline/sqlite/ PR: 214569 Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer) Changes: head/databases/sqlite3/Makefile head/databases/sqlite3/distinfo
Thanks. Landed.
(In reply to Jan Beich (mail not working) from comment #3,4) Brilliant! Thank you. And thanks for the "option helpers".