Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101256 - dev-db/libpq - incorrect /
Summary: dev-db/libpq - incorrect /
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 15:12 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-08-04 05:35 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 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-03 15:12:04 UTC
When you directly deal with the root directory, you have to prefix with ${ROOT}.

pkg_preinst() {
        # removing wrong symlink which is created by previous ebuild.
        if [ -L ${ROOT}/usr/include/libpq ]; then
                rm ${ROOT}/usr/include/libpq
        fi
}

Also you don't have to filter -ffast-math. The flag is unsupported. Bugs of
those who use it can directly go to /dev/null.

At last it would be nice to get a pointer regarding
https://bugs.kde.org/show_bug.cgi?id=110033
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2005-08-03 16:02:34 UTC
Fixed
I forgot ${ROOT} thing. Thank you for reporting.

I'm going to fix pg_config problem..
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-03 16:16:43 UTC
Eh, I was keen on a comment on the linked bug report, especially because I think
it's unreasonable to expect that upstream should support
/usr/include/postgresql/libpq-${SLOT}/libpq-fe.h. Is slotting here so important?
It'll lead to a lot of patch work. If this issue wouldn't be, I had not detected
the missing ${ROOT} in the first place.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-04 05:35:13 UTC
Uh sorry, got the pg_config pointer.