dev-db/postgresql"
src_compile() {
econf || die
econf --with-pgsql=/usr/lib/postgresql --with-pgsql-include=/usr/include/postgresql/pgsql || die
cd ${S}/src
sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk2-2.4 -lwx_gtk2_xrc-2.4 -lwx_gtk2_stc-2.4:" Makefile