Created attachment 160453 [details] patch SCons doesn't pass environment to utils it calls by default, so ccache build fails because CCACHE_DIR and other variables are removed. Fix this as usual by preserving whole environment.
A commit references this bug: Author: amdmi3 Date: Fri Sep 11 18:48:42 UTC 2015 New revision: 396704 URL: https://svnweb.freebsd.org/changeset/ports/396704 Log: - Fix build with ccache by making SCons preserve environment PR: 202723 Submitted by: amdmi3 Approved by: maintainer timeout (samm@os2.kiev.ua, 2 weeks) Changes: head/sysutils/exfat-utils/files/ head/sysutils/exfat-utils/files/patch-SConstruct