Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171723 - freeradius-1.1.5 tried to compile postgresql module when postgresql use flag is disabled, and breaks
Summary: freeradius-1.1.5 tried to compile postgresql module when postgresql use flag ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 21:18 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2007-09-23 00:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-03-21 21:18:24 UTC
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.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-03-22 09:37:34 UTC
fixed in 1.1.5-r1.
thanks for reporting!