Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385839 - cmake eclass fix
Summary: cmake eclass fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All FreeMiNT
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: http://archives.gentoo.org/gentoo-alt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 08:55 UTC by Alan Hourihane
Modified: 2011-10-06 13:34 UTC (History)
0 users

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


Attachments
proposed patch for cmake-utils.eclass (bug385839.patch,1.06 KB, patch)
2011-10-06 11:10 UTC, Michael Haubenwallner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2011-10-06 08:55:21 UTC
Can we change

if use prefix; then

to

if use prefix && ! [[ ${EPREFIX} ]]; then

in the cmake eclass file ?

Thanks !
Comment 1 Alan Hourihane 2011-10-06 09:35:43 UTC
Redo....

if [[ ${EPREFIX} ]]; then

as Haubi has pointed out.

I'm running the test now.
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2011-10-06 11:10:11 UTC
Created attachment 288943 [details, diff]
proposed patch for cmake-utils.eclass

've found EPREFIX is set a few lines below.

Did I find the right position within cmake-utils.eclass at all?
Comment 3 Alan Hourihane 2011-10-06 12:04:19 UTC
Yes, this is the correct place.
Comment 4 Michael Haubenwallner (RETIRED) gentoo-dev 2011-10-06 13:34:23 UTC
fixed in cmake-utils.eclass rev 1.76