postgresql-*.ebuild didn't allow for kernel resources without hppa. It could happen to any platform. See http://www.postgresql.org/docs/7.4/static/kernel-resources.html
Created attachment 29869 [details, diff] postgresql-7.4.2-r1.diff
Added the script. Thanks.