has an dep to postgresql (the server!), instead of libpq. Reproducible: Always
Good catch, although we should depend on virtual/postgresql-base rather than dev-db/libpq. The versions in the overlay already do so.
asterisk-1.6.0.3 in the voip overlay was directly depending on libpq. It is now fixed.
Created attachment 182923 [details, diff] Patch fixing the dep issue This patch is fixing the broken dep and fixing also some not slotted dep (moving to EAPI-1). I toughed it would be better to bump to -r1 and testing version.
+ 11 Mar 2009; <chainsaw@gentoo.org> asterisk-1.2.27.ebuild, + asterisk-1.2.31.1.ebuild: + Depend on virtual/postgresql-base, not virtual/postgresql-server. Closes + bug #215681 by Enrico 'nekrad' Weigelt. Thank you for your report, this has been addressed in all current asterisk ebuilds.