Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182221 - dev-perl/BerkeleyDB-0.31 do not found sys-libs/db
Summary: dev-perl/BerkeleyDB-0.31 do not found sys-libs/db
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 14:52 UTC by MT
Modified: 2007-07-09 13:29 UTC (History)
1 user (show)

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


Attachments
BerkeleyDB-0.31.ebuild.patch (BerkeleyDB-0.31.ebuild.patch,902 bytes, patch)
2007-06-16 14:53 UTC, MT
Details | Diff
BerkeleyDB-0.31.ebuild.patch (BerkeleyDB-0.31.ebuild.patch,843 bytes, patch)
2007-06-16 15:37 UTC, MT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2007-06-16 14:52:11 UTC
on Gentoo/FreeBSD we cannot trust on the symlink /usr/include/db.h to determine the latest sys-libs/db installed on the system (as happen for the Gentoo/Linux) because that symlink do not exists. We need to esplicitely declare the absolute path for sys-libs/db: /usr/include/db*/db.h.

The attached patch fix the problem for dev-perl/BerkeleyDB changing the path into config.in with sed and using db-use.eclass to determine the last berkdb installed version.

Reproducible: Always
Comment 1 MT 2007-06-16 14:53:40 UTC
Created attachment 122236 [details, diff]
BerkeleyDB-0.31.ebuild.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-16 15:04:59 UTC
Use $(db_includedir) function rather than the mess you made with variables and substitution.
Comment 3 MT 2007-06-16 15:37:46 UTC
Created attachment 122241 [details, diff]
BerkeleyDB-0.31.ebuild.patch

a more cleaned patch as required by Flameeyes (thank you for the support).
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2007-07-09 13:29:22 UTC
updated and committed. thanks!