I don't think we want to be in the business of trying to use package managers to find libraries. If you have libs installed in nonstandard locations you should set the flags yourself. I mean, I'm guessing if you have ncurses installed via MacPorts, you probably
want to link against that instead of the system one.
I use Homebrew, and so usually stick LDFLAGS=-L$(brew --prefix)/lib CPPFLAGS=-I$(brew --prefix)/include on my configure line, which is at least enough to find pcre and gdbm when I --enable those options.