Does --with-readline-dir=/usr/pkg/lib work?

- Ville