Building ftp/lftp when ${LOCALBASE} is not `/usr/local`, ${WRKSRC}/configure
tries to find Readline headers in `/usr/include` not the current ${LOCALBASE}
```
checking for termcap.h... yes
checking for library containing tigetstr... -ltinfo
checking for tgetstr... yes
checking for Readline headers in /usr/include... not found
checking for Readline... no
configure: error: cannot find readline library, install readline-devel package
===> Script "configure" failed unexpectedly.
Please report the problem to martymac@FreeBSD.org [maintainer] and attach the
"/usr/ports/ftp/lftp/work/lftp-4.8.3/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. a
/pkg/tools/sbin/pkg-static info -g -Ea).
*** Error code 1
```
There's a `-f` missing for `/usr/include/readline/readline.h` on line 50396,
which makes readline_prefix=/usr, that's the reason we see `/usr/include` in the log:
`checking for Readline headers in /usr/include... not found`
${WRKSRC}/configure:
```
50394 if test -f /usr/local/include/readline.h -o -f /usr/local/include/readline/readline.h; then
50395 readline_prefix=/usr/local
50396 elif test -f /usr/include/readline.h -o /usr/include/readline/readline.h; then
50397 readline_prefix=/usr
50398 else
50399 readline_prefix=""
50400 fi
... ...
50431 if test -n "$readline_prefix"; then
50432 readline_include_dir="$readline_prefix/include"
... ...
50462 $as_echo_n "checking for Readline headers in $readline_include_dir... " >&6; }
```
Proposed commit log message:
```
ftp/lftp: Fix build with non-default LOCALBASE
Reviewed_by: koobs, martymac
Approved by: koobs (mentor), martymac (maintainner)
Differential_Revision:
```