- Add a note about reinstalling libtool15 when you change CC/CXX - Add links to gcc/g++bc58fccd29
Port details
devel/ccache 3.7.12_9
Tool to minimize the compile time of C/C++ programs
Port info
- Maintainer
- bdrewery@FreeBSD.org
- Packages
- latest: 3.7.12_9
- Upstream
- up to date
- Last update
- to 3.7.12_9 · f4cbd23d2f
- Quarterly
- 2026Q4: 3.7.12_9
- WWW
- https://ccache.samba.org/
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install ccacheinstalls 3.7.12_9 fromlatest; fromquarterly(2026Q4) 3.7.12_9- Port
# cd /usr/ports/devel/ccache && make install clean# make -C /usr/ports/devel/ccache config # change options first
- Size
- 135 KiB download · 483 KiB installed
- Depends on
- nothing
- License
- GPLv3+
- Options
- 3 of 5 on in the package: CLANGLINK DOCS LLVMLINK
Show the 2 options that are off
STATIC TINDERBOX - pkg-message
Shown after installing
NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 3.7.12_9 | 3.7.12_9 | – |
| FreeBSD 15 | 3.7.12_9 | 3.7.12_9 | – |
| FreeBSD 14 | 3.7.12_9 | 3.7.12_9 | 3.7.12_9 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 3.7.12_9 | 3.7.12_9 | – |
| FreeBSD 14 | 3.7.12_9 | 3.7.12_9 | 3.7.12_9 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 3.7.12_9.Fixed (0)
No VuXML entries for this package.
Problem reports (2) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 261705 | maintainer-feedback? devel/ccache when using zfs the cache size reported by ccache is incorrect; with ufs it is correct | Open | 2026-09-03 |
| 247530 | maintainer-feedback? devel/ccache: add periodic cleanup script | Open | 2026-05-22 |
Commits (183)
Add more to the example so you can disable ccache with out having to change PATHf29bf0fd00
- Add a link to gcc32 since it's still used in some ports (ie openoffice) - Move pkg-message in to a file (ccache-howto-freebsd.txt) that is now installed in to DOCSDIR. ccache-howto-freebsd.txt is more informative than pkg-message was, now has better examples so ccache will not fail with some ports that don't like a full path to the compiler. - Add a note about using distcc - Bump PORTREVISe4be9b5679
add link to gcc40 Approved by: pav (co mentor)ee949e4616
Change email to new FreeBSD.org address Approved by:adamw (mentor)b0823ae396
- Reword pkg-message PR: ports/72724 Submitted by: Michael Johnson <ahze@ahze.net> (maintainer)69f2576152
Removed trash at the end of the Makefile. No idea how that ended up there. Submitted by: Michael Johnson <ahze@ahze.net>6f4685d640
[MAINTAINER] devel/ccache: update to 2.4 - Update to 2.4 - Add workaround to use ccache when USE_GCC is used in a port PR: ports/71717 Submitted by: Michael Johnson <ahze@ahze.net>1aed325430
- Remove STRIP_CMD PR: ports/65747 Submitted by: maintainer6712f3802d
Use INSTALL_MAN and INSTALL_PROGRAM macros. Approved by: Michael Johnson (maintainer) PR: 657399efc1482b4
- Assign maintainership to submitter - strip(1) binary PR: ports/65692 Submitted by: michael johnson <ahze at ahze dot net>f5bc2a757e
- Add PORTDOCS PR: ports/64925 Submitted by: michael johnson <ahze@ahze.net>671687d7a2
Use PLIST_FILES. Reviewed by: marcus3c175cb569
SIZEify.0c881ba59c
Update to 0.3. PR: 57304 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>bdce79543b
Cease FreeBSD port maintainerships I don't have the time to give to many of the ports I maintain at the moment. I wasn't expecting to be so busy this summer ... Please set all my ports back to ports@freebsd.org. PR: ports/56935 Submitted by: Dominic Marks <dom@wirespeed.org.uk>,Clement Laforet <sheepkiller@cultdeadsheep.org>,Oliver Eikemeier <eikemeier@fillmore-labs.com>5b0bf6e947
update maintainer's email address. PR: 53658 Submitted by: Dominic Marks <dom@cus.org.uk>2351069d34
Upate to 2.2 PR: 49113 Submitted by: Dominic Marks <dom@cus.org.uk>ffc22a31bf
De-pkg-comment.65dac0040a
Update to 2.1.1. Approved by: Dominic Marks <dom@cus.org.uk> (maintainer)8a503b4415
Update to ccache-2.1, which fixes a segfault when ccache(1) is invoked without a -o outfile option. Approved by: maintainerbbdcb0f54a
Update to ccache-2.0. PR: 46820 Submitted by: maintainer501402dbb4
Fix typoes on MAINTAINER address. Submitted by: Dominic Marks <D.Marks@student.umist.ac.uk>7cee1ca843
Update maintainer address PR: 43820 Submitted by: Dominic Marks <d.marks@students.umist.ac.uk>aeee54b1c1
Update to 1.9 PR: 38028 Submitted by: maintaineraa4077eab8
Add a patch, that makes ccache use the -lmd's implementation of MD4 instead of its own. According to the vendor, Samba uses this implementation too (compiled staticly) and, IMO, should be patched similarly. Approved by: maintainer53688aac0f
Update to 1.8 PR: 37565 Submitted by: maintainer0ebb0bdae4
Update to 1.7. PR: 36961 Submitted by: maintainercbaed11e29
Update to 1.6 PR: 36886 Submitted by: maintainer18d30104d2
Update to 1.4 PR: 36787 Submitted by: maintainer831d85e51a
Change this to something that actually tells me enough about the port that I don't have to go to the website to just figure out what the heck this thing is.5bd7dbcac5
Update to 1.3 PR: 36611 Submitted by: maintainerbf472abc68
Add new port devel/ccache - A tool to minimize the compile time of C programs PR: 36572 Submitted by: Dominic Marks <dominic_marks@btinternet.com>3edf4b9ba6