Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Heads up: cmake-utils.eclass changes
Date: Mon, 14 Dec 2009 14:14:58
Message-Id: 4B2632E6.5000300@gentoo.org
In Reply to: [gentoo-dev] Heads up: cmake-utils.eclass changes by Jonathan Callen
1 On 12/13/2009 04:28 PM, Jonathan Callen wrote:
2 > Recently a change was made to cmake-utils.eclass, changing the
3 > mycmakeargs parameter from a flat string to an array. This change was
4 > also made to kde4-{base,meta}.eclass. The primary reason for this
5 > change was to allow parameters passed to cmake to contain spaces (such
6 > as "${S}" or "${EPREFIX}"). Currently, there is code in these eclasses
7 > to properly convert a string to an array, keeping the previous behavior.
8 > This code works in almost every case *except* if you want to change
9 > mycmakeargs in src_test and call cmake-utils_src_configure again. The
10 > few instances of this in the tree have been fixed to use arrays, as
11 > should all new ebuilds.
12 >
13 > The plan is to eventually remove this backwards-compatibility code, once
14 > all usages in the tree have been converted.
15 >
16
17 The policy has been to not change the API of eclasses because you can
18 have user written ebuilds in overlays expecting certain behavior.
19
20 Regards,
21 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature