On recent CURRENT (FreeBSD 13.0-CURRENT #187 r358294: Mon Feb 24 18:00:27 CET 2020 amd64), port databases/postgresql12-client fails to compile due to the error shown below. [...] checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of off_t... configure: error: in `/usr/ports/databases/postgresql12-client/work/postgresql-12.2': configure: error: cannot compute sizeof (off_t) See `config.log' for more details ===> Script "configure" failed unexpectedly. Please report the problem to pgsql@FreeBSD.org [maintainer] and attach the "/usr/ports/databases/postgresql12-client/work/postgresql-12.2/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 /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/databases/postgresql12-client
See also Bug 244376
reinstall readline first
(In reply to O. Hartmann from comment #0) reinstall readline first