Thanks to an entry on LSD::RELOAD I was finally able to get powerdns to run on my MacOS X 10.6.4 system.
Out of personal preference I wanted it to run with postgresql instead of mysql, so there was a little figuring out involved in how to get things going without the mysql driver — apparently, the make files only take one database backend and do not compile multiple drivers at the same time.
Also, secondary software omes from MacPorts, so paths had to be appropriately matched. And then, there was some hand-tweaking of Makefiles because ‑Bstatic, ‑Bdynamic and ‑lcrypt warrant special handling.
This leads to the following command line:
CXXFLAGS="-I/opt/local/include -DDARWIN" \
./configure --with-pgsql-lib=/opt/local/lib/postgresql84 \