Bug 155008 - [patch] devel/ccache - support other world compilers
Summary: [patch] devel/ccache - support other world compilers
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Emanuel Haupt
Depends on:
Reported: 2011-02-24 17:20 UTC by Alberto Villa
Modified: 2011-02-28 13:41 UTC (History)
0 users

See Also:

file.diff (5.05 KB, patch)
2011-02-24 17:20 UTC, Alberto Villa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Villa freebsd_committer 2011-02-24 17:20:03 UTC
the attached patch allows ccache to use non-default compilers 
(especially clang, as it's the only one which will actually work) to build 
world and kernel

it also updates documentation with the new instructions, and replaces 
libtool15 with libtool

a couple of notes:
- the clang warnings about unused arguments are really harmless. read 
more here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-
- i replaced world-* with world/* (this would obviously require a note in 
UPDATING) because of this (/sys/boot/i386/boot2/Makefile and others):
world-clang wouldn't be replaced with world-gcc, while ${PREFIX}/libexec/ccache/world/clang is 
successfully changed to gcc. in addition, this allows to have only 
one script (world/ccache), and just create links to it (like world/clang, 

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2011-02-24 17:20:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Emanuel Haupt freebsd_committer 2011-02-28 13:41:50 UTC
State Changed
From-To: open->closed

Committed, thanks!