On Thu, May 18, 2006 at 11:48:50AM +0200, Paul de Vrieze wrote:
> 
> Hi all,
> 
> I have just committed a new eclass to the tree. This eclass has as purpose 
> to make it easier to use berkeley db. Currently the eclass has two 
> interesting functions (and some helpers that may or may not be 
> interesting).
> 
> These functions are:
> db_includedir
> db_libname
> 
> Both functions can be used with and without arguments. Without arguments 
> they will give the best bdb version. With arguments they will loop 
> through the arguments which are version prefixes (they will be matched 
> with "=sys-libs/db-${1}*"
> 
> The includedir function returns the include dir of the best matched db 
> version. The libname function returns the libraryname of the best matched 
> db. This libraryname has the form db-${ver}, and as such could be just 
> appended to "-l". This means it is not the filename.
> 
Was this discussed on gentoo-dev mailinglist before committing to the
tree? Eclasses are supposed to be discussed on -dev prior to adding them
to the tree to catch any (obvious) mistakes etc.

This is particularly important for eclasses as they can't be removed or
changed in incompatible ways later due to the way portage handles them.

I don't have time to look at it myself right now but I'd still
appreciate posting the code to gentoo-dev and have other devs/users
comment on it.

Regards,
Bryan Østergaard
-- 
[email protected] mailing list

Reply via email to