On 12/13/2009 04:28 PM, Jonathan Callen wrote:
> Recently a change was made to cmake-utils.eclass, changing the
> mycmakeargs parameter from a flat string to an array.  This change was
> also made to kde4-{base,meta}.eclass.  The primary reason for this
> change was to allow parameters passed to cmake to contain spaces (such
> as "${S}" or "${EPREFIX}").  Currently, there is code in these eclasses
> to properly convert a string to an array, keeping the previous behavior.
>  This code works in almost every case *except* if you want to change
> mycmakeargs in src_test and call cmake-utils_src_configure again.  The
> few instances of this in the tree have been fixed to use arrays, as
> should all new ebuilds.
> 
> The plan is to eventually remove this backwards-compatibility code, once
> all usages in the tree have been converted.
> 

The policy has been to not change the API of eclasses because you can
have user written ebuilds in overlays expecting certain behavior.

Regards,
Petteri

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to