Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306255 - net-misc/mico bad postgres depend and detection
Summary: net-misc/mico bad postgres depend and detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Haubenwallner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-21 21:17 UTC by Patrick Lauer
Modified: 2010-02-24 10:06 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2010-02-21 21:17:39 UTC
This is one of the last packages depending on dev-db/postgresql.
(Actually I think it should have depended on libpq)

Since dev-db/postgresql-{base,server} is the "new" one the package needs some fixing, first of all the dependencies (best to use the virtual/postgresql-base there) 

Secondly the detection of postgres in the build system is a bit broken. It searches like this:
checking for pgsql/libpq-fe.h... no
with a fixed prefix (/usr )

The file exists in /usr/include/postgresql-$SLOT/libpq-fe.h
(The active postgres version can be found with eselect postgresql show)

Please fix this package so we can finally get rid of the old postgresql ebuilds!
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2010-02-24 10:06:53 UTC
(In reply to comment #0)
> (best to use the virtual/postgresql-base there)

Done (with revbump).

> Secondly the detection of postgres in the build system is a bit broken. It
> searches like this:
> checking for pgsql/libpq-fe.h... no
> with a fixed prefix (/usr )

Result of this check is not used anywhere in the code, simply dropped this check.

Thanks!