"readline.h" --> <readline/readline.h> Remove -I./readline from Makefile (again!)
Really we don't need copy of this library into each program (gdb f.e.) P.S. it is much cleaner port than /usr/ports version and based on /usr/ports version. /usr/ports version will be removed.