Dependency handling prevents doing that now (see bsd.port.mk r1.1544) and we just check for /usr/local/bin/ccache, so keep up to date without specifying such implementation details.
OK? Index: bsd.port.mk.5 =================================================================== RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v retrieving revision 1.556 diff -u -p -r1.556 bsd.port.mk.5 --- bsd.port.mk.5 18 Feb 2022 23:17:15 -0000 1.556 +++ bsd.port.mk.5 20 Feb 2022 18:51:25 -0000 @@ -3235,8 +3235,7 @@ User settings. Set to .Sq Yes to use ccache when building ports. -Adds a build dependency on devel/ccache, and sets up the build -environment so that it is used. +Sets up the build environment so that it is used. .It Ev USE_GMAKE Set to .Sq Yes
