freeradius-1.1.5 fails to compile, because it cannot find the src/modules/rlm_sql/drivers/rlm_sql_postgresql directory (it's missing). The makefile in src/modules/rlm_sql/drivers lists the modules it should compile, including rlm_sql_postgresql. The solution is simple: In the ebuild, where it checks if the postgresql use flag is enabled, it should also edit the Makefile, instead of just removing the source files. I think the same goes for mysql and other modules, since the makefile also lists those. Reproducible: Always Actual Results: The makefile still says to compile the postgresql module Expected Results: The makefile should be patched so that it doesn't include the postgresql module.
fixed in 1.1.5-r1. thanks for reporting!