notbug ipv6 ready As an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
ccache4 Tool to minimize the compile time of C/C++ programs
4.13.6 devel on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.10.2_2Version of this port present on the latest quarterly branch.
Maintainer: osidorkin@gmail.com search for ports maintained by this maintainer
Port Added: 2023-03-13 21:09:06
Last Update: 2026-05-12 09:31:17
Commit Hash: 477b1aa
People watching this port, also watch:: pkg, htop, bash, smartmontools, neovim
License: GPLv3+
WWW:
https://ccache.dev/
Description:
ccache is a compiler cache. It acts as a caching pre-processor to C/C++ compilers, using the -E compiler switch and a hash to detect when a compilation can be satisfied from cache. This often results in a 5 to 10 times speedup in common compilations.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. /usr/local/share/licenses/ccache4-4.13.6/catalog.mk
  2. /usr/local/share/licenses/ccache4-4.13.6/LICENSE
  3. /usr/local/share/licenses/ccache4-4.13.6/GPLv3+
  4. bin/ccache
  5. bin/ccache-update-links
  6. etc/periodic/daily/ccache_clean
  7. libexec/ccache/world/ccache
  8. share/doc/ccache/LICENSE.adoc
  9. share/doc/ccache/LICENSE.html
  10. share/man/man1/ccache.1.gz
  11. @postexec echo "Create compiler links..."
  12. @postexec %D/bin/ccache-update-links -v
  13. @preunexec find %D/libexec/ccache -type l -exec rm -f {} \;
  14. @owner
  15. @group
  16. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ccache4>0:devel/ccache4
Conflicts:
CONFLICTS_INSTALL:
  • ccache
  • ccache-static
To install the port:
cd /usr/ports/devel/ccache4/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ccache4
  • pkg install ccache4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ccache4
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1778382657 SHA256 (ccache-4.13.6.tar.xz) = a7de667ca08cf67c3c8af9f213f6aa701a1188a2b3163fb74483858ce5e79fbb SIZE (ccache-4.13.6.tar.xz) = 538628

Packages (timestamps in pop-ups are UTC):
ccache4
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.10.2_24.13.5-4.10.2_1-n/an/an/a
FreeBSD:13:quarterly4.10.2_24.10.2_24.84.10.24.10.2_2n/an/an/a
FreeBSD:14:latest4.13.64.13.6-4.10.2_1-4.8-4.8
FreeBSD:14:quarterly4.13.64.13.6-4.10.2-4.8.34.8.34.8.3
FreeBSD:15:latest4.13.64.13.6n/a4.10.2_1n/an/a4.8.34.9
FreeBSD:15:quarterly4.13.64.13.6n/a-n/an/a--
FreeBSD:16:latest4.13.64.13.6n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. asciidoctor : textproc/rubygem-asciidoctor
  2. bash : shells/bash
  3. pandoc : textproc/hs-pandoc
  4. libzstd.a : archivers/zstd
  5. libxxhash.a : devel/xxhash
  6. cmake : devel/cmake-core
  7. perl5>=5.42.r<5.43 : lang/perl5.42
Runtime dependencies:
  1. groff : textproc/groff
  2. perl5>=5.42.r<5.43 : lang/perl5.42
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ccache4-4.13.6: CLANGLINK=on: Create clang compiler links if clang is installed DOCS=on: Build and/or install documentation LLVMLINK=on: Create llvm compiler links if llvm is installed STATIC=on: Build static executables and/or libraries TEST=off: Build and/or run tests ===> Use 'make config' to modify these settings
Options name:
devel_ccache4
USES:
cmake:noninja compiler:c++17-lang pathfix shebangfix tar:xz groff:run perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/ccache/ccache/releases/download/v4.13.6/
Collapse this list.

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.13.6
12 May 2026 09:31:17
commit hash: 477b1aa8c4266c5d7fbe41fdafb499754fd29686commit hash: 477b1aa8c4266c5d7fbe41fdafb499754fd29686commit hash: 477b1aa8c4266c5d7fbe41fdafb499754fd29686commit hash: 477b1aa8c4266c5d7fbe41fdafb499754fd29686 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/ccache4: Update to 4.13.6

- Use upstream release tarball
- Use = instead of += for CMAKE_ARGS
- Sort CMAKE_OFF
- Sort PLIST

Changes:	https://github.com/ccache/ccache/releases
		https://ccache.dev/releasenotes.html
PR:		295140
Approved by:	Oleg Sidorkin <osidorkin@gmail.com> (maintainer)
4.13.5
27 Apr 2026 17:51:33
commit hash: c82d5e6e72d71137f63873e7df8ce4247dd288becommit hash: c82d5e6e72d71137f63873e7df8ce4247dd288becommit hash: c82d5e6e72d71137f63873e7df8ce4247dd288becommit hash: c82d5e6e72d71137f63873e7df8ce4247dd288be files touched by this commit
Bryan Drewery (bdrewery) search for other commits by this committer
devel/ccache4: update to 4.13.5 and fix tests

Pass maintainership to Oleg.

Submitted by:	siva, Oleg Sidorkin [earlier versions]
PR:		285361
4.10.2_2
05 Nov 2025 20:59:34
commit hash: b2cea6a8b1c6cae9952d9a80b77ac019cd198aa4commit hash: b2cea6a8b1c6cae9952d9a80b77ac019cd198aa4commit hash: b2cea6a8b1c6cae9952d9a80b77ac019cd198aa4commit hash: b2cea6a8b1c6cae9952d9a80b77ac019cd198aa4 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/libfmt: Bump PORTREVISION of dependent ports for shlib change after
786cb608216ce14e8ced27108c96a1f2c8492fca

The following ports are skipped because they have been updated after
786cb608216ce14e8ced27108c96a1f2c8492fca.
- chinese/fcitx5-chinese-addons
- chinese/fcitx5-mcbopomofo
- devel/fatal
- devel/fbthrift
- devel/folly
- devel/spdlog
- mail/mu
- net/fb303
- net/mvfst
- net/wangle
- science/seacas
- security/fizz
- www/proxygen
4.10.2_1
10 Aug 2025 19:02:47
commit hash: b7e654fbfea9bb2771c35b1148250c2f1cf0c6a2commit hash: b7e654fbfea9bb2771c35b1148250c2f1cf0c6a2commit hash: b7e654fbfea9bb2771c35b1148250c2f1cf0c6a2commit hash: b7e654fbfea9bb2771c35b1148250c2f1cf0c6a2 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
*: Bump PORTREVISION for devel/libfmt  update {fmt.dev}
4.10.2
29 Jan 2025 16:32:04
commit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cfcommit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cfcommit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cfcommit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cf files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
devel/ccache4: Update 4.9 → 4.10.2

Based on patches from Oleg Sidorkin and Älven.

Improve port:
- update required compiler version from 11 to 17;
- update CONFLICTS_INSTALL;
- update GNU_COMPILERS and CLANG_COMPILERS;
- update dependencies;
- improve STATIC and TEST options;
- fix warnings from portclippy - sort options and etc.

Changelogs:
https://ccache.dev/releasenotes.html#_ccache_4_10_2

PR:		276854 283910
Approved by:	bdrewery (maintainer, timeout 1 year)
Tested by:	Oleg Sidorkin (osidorkin@gmail.com), Älven (alster@vinterdalen.se)
4.9
04 Feb 2024 02:09:17
commit hash: 7045625cb3712876d1a37097acdf34a886d2c5accommit hash: 7045625cb3712876d1a37097acdf34a886d2c5accommit hash: 7045625cb3712876d1a37097acdf34a886d2c5accommit hash: 7045625cb3712876d1a37097acdf34a886d2c5ac files touched by this commit
Joel Bodenmann (jbo) search for other commits by this committer
Author: Oleg Sidorkin
devel/ccache4: Update to 4.9

Changelog: https://ccache.dev/releasenotes.html#_ccache_4_9

PR:		276126
Approved by:	tcberner (mentor, implicit), bdrewery (maintainer, timeout)
4.8.3
12 Dec 2023 13:26:32
commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24 files touched by this commit
Joel Bodenmann (jbo) search for other commits by this committer
Author: Oleg Sidorkin
devel/ccache4: Update to 4.8.3

Changelog: https://ccache.dev/releasenotes.html#_ccache_4_8_3

PR:			271536
Approved by:		tcberner (mentor), bdrewery (maintainer, timeout)
Differential Revision:	https://reviews.freebsd.org/D42890
4.8
02 Aug 2023 10:54:07
commit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4edcommit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4edcommit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4edcommit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4ed files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
devel/ccache4: Fix build with STATIC option

PR:		272880
4.8
13 Mar 2023 21:04:41
commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4 files touched by this commit
Kurt Jaeger (pi) search for other commits by this committer
Author: Oleg Sidorkin
devel/ccache4: new port

ccache is a compiler cache.  It acts as a caching pre-processor to C/C++
compilers, using the -E compiler switch and a hash to detect when a
compilation can be satisfied from cache.  This often results in a 5 to 10
times speedup in common compilations.

PR:		234971
Approved by:	bdrewery
Author:    Oleg Sidorkin <osidorkin@gmail.com>

Number of commits found: 9