| Summary: | app-misc/sphinx ebuild does not enable postgresql support | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | konstantinos metaxas <bugs.gentoo.org> |
| Component: | New packages | Assignee: | Caleb Tennis (RETIRED) <caleb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hronya |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
konstantinos metaxas
2008-02-12 21:43:37 UTC
I managed to get it working by doing this:
Replacing src_compile()
from this:
src_compile() {
econf \
$(use_with mysql) \
$(use_with postgres) \
$(use_with debug) || die "econf failed"
emake || die "emake failed"
}
To this:
src_compile() {
if use postgres; then
conf_opts="${conf_opts} --with-pgsql"
fi
econf \
$(use_with mysql) \
$(use_with debug) \
${conf_opts} || die "econf failed"
emake || die "emake failed"
}
*** Bug 210330 has been marked as a duplicate of this bug. *** (In reply to comment #1) $(use_with postgres pgsql) is a lot shorter solution. :) fixed in latest version. Thanks for the report. |