Gentoo Archives: gentoo-dev

From: Jonathan Callen <abcd@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Heads up: cmake-utils.eclass changes
Date: Sun, 13 Dec 2009 14:30:01
Message-Id: 4B24FA22.2020802@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Recently a change was made to cmake-utils.eclass, changing the
5 mycmakeargs parameter from a flat string to an array. This change was
6 also made to kde4-{base,meta}.eclass. The primary reason for this
7 change was to allow parameters passed to cmake to contain spaces (such
8 as "${S}" or "${EPREFIX}"). Currently, there is code in these eclasses
9 to properly convert a string to an array, keeping the previous behavior.
10 This code works in almost every case *except* if you want to change
11 mycmakeargs in src_test and call cmake-utils_src_configure again. The
12 few instances of this in the tree have been fixed to use arrays, as
13 should all new ebuilds.
14
15 The plan is to eventually remove this backwards-compatibility code, once
16 all usages in the tree have been converted.
17
18 - --
19 Jonathan Callen
20 -----BEGIN PGP SIGNATURE-----
21 Version: GnuPG v2.0.13 (GNU/Linux)
22 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
23
24 iEYEARECAAYFAksk+iEACgkQOypDUo0oQOqFhgCghP04XNdMb1U9xVDNzhQuwDSB
25 zMkAnRty6dY5V8GkTxkz4bHcRK9dDL1C
26 =kNek
27 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Heads up: cmake-utils.eclass changes "Petteri R├Ąty" <betelgeuse@g.o>