notbugAs 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 on branch 2026Q2
ccache Tool to minimize the compile time of C/C++ programs
3.7.12_9 devel on this many watch lists=40 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 3.7.12_9Version of this port present on the latest quarterly branch.
Maintainer: bdrewery@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2002-03-31 17:07:26
Last Update: 2026-03-25 14:43:03
Commit Hash: f4cbd23
People watching this port, also watch:: gnupg, libiconv, libxml2, expat, curl
License: GPLv3+
WWW:
https://ccache.samba.org/
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

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

Packages (timestamps in pop-ups are UTC):
ccache
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.7.12_93.7.12_93.7.1_13.7.12_83.7.12_9n/an/an/a
FreeBSD:13:quarterly3.7.12_93.7.12_93.7.12_43.7.12_83.7.12_9n/an/an/a
FreeBSD:14:latest3.7.12_93.7.12_93.7.12_43.7.12_83.7.12_93.7.12_4-3.7.12_4
FreeBSD:14:quarterly3.7.12_93.7.12_9-3.7.12_83.7.12_93.7.12_53.7.12_53.7.12_5
FreeBSD:15:latest3.7.12_93.7.12_9n/a3.7.12_8n/an/a3.7.12_53.7.12_5
FreeBSD:15:quarterly3.7.12_93.7.12_9n/a-n/an/a--
FreeBSD:16:latest3.7.12_93.7.12_9n/a-n/an/a--
Slave ports:
  1. devel/ccache-static
This port has no dependencies.
This port is required by:
for Build
  1. emulators/libretro-pcsx2
  2. graphics/digikam
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. ports-mgmt/redports-node*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for ccache-3.7.12_9: 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=off: Build static executables and/or libraries TINDERBOX=off: Create tarball for tinderbox usage ===> Use 'make config' to modify these settings
Options name:
devel_ccache
USES:
compiler
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/bdrewery/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/bdrewery/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/bdrewery/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/bdrewery/
  5. https://github.com/ccache/ccache/releases/download/v3.7.12/
Collapse this list.

There are no commits on branch 2026Q2 for this port