Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385103 - dev-util/ccache: ccache-config - add path to $EPREFIX/etc
Summary: dev-util/ccache: ccache-config - add path to $EPREFIX/etc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 16:44 UTC by Kalon Mills
Modified: 2011-10-07 19:05 UTC (History)
0 users

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


Attachments
ebuild patch to modify ccache-config for prefix (ccache.patch,1.12 KB, patch)
2011-09-30 16:44 UTC, Kalon Mills
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kalon Mills 2011-09-30 16:44:30 UTC
Created attachment 288379 [details, diff]
ebuild patch to modify ccache-config for prefix

The current version of ccache-config adds a line that is not prefix ready.  I've attached a working fix for current prefix ebuilds.

However a better fix would also involve upstream.  The current ccache-config sources /etc/init.d/functions.sh and then uses ${ROOT%/}.  It would be nice to s/ROOT/EROOT/ but unfortunately the script doesn't always use ROOT where it ought to.  It still references the /usr/ directly in one place.  Thus upstream would have to fix that before prefix could replace ROOT.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-30 16:50:22 UTC
Thanks. Tip: "diff -u <old> <new>" - You did the reverse.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-10-07 19:05:29 UTC
committed