On FreeBSD 11 readline library is not installed anymore on system since r268461 [1]. This causes readline functionality to not be available on FreeBSD 11 in the sqlite3 command line tool. To fix this I have added a READLINE option to the port, which leverages the readline USES to fix this. I enabled the option by defualt as a POLA for previous FreeBSD releases, where it is a noop anyway. While here I also noticed the port needs the ncurses USES too, which I added.
Maintainer CC'd
Created attachment 148826 [details] Fix
*** Bug 194716 has been marked as a duplicate of this bug. ***
(In reply to Guido Falsi from comment #0) > On FreeBSD 11 readline library is not installed anymore on system since > r268461 [1]. Forgot the reference: https://svnweb.freebsd.org/base?view=revision&revision=268461
Hello. I approve it. Thank you.
Committed. Thanks.
A commit references this bug: Author: madpilot Date: Sat Nov 1 10:37:07 UTC 2014 New revision: 372001 URL: https://svnweb.freebsd.org/changeset/ports/372001 Log: Add READLINE option and conditionally add readline to USES, this fixes command line editing on head, which does not install libreadline anymore in base. While heere also add ncurses USES. PR: 194717 Submitted by: me Approved by: Pavel Volkov <pavelivolkov at gmail.com> (maintainer) Changes: head/databases/sqlite3/Makefile