diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2019-10-10 20:09:59 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2019-10-10 20:09:59 +0000 |
commit | bc8870a852d253b6e03abb66e1a2d3611fc0c4a0 (patch) | |
tree | 5b3846d101605e79460f6c0a9bff76adfb17ddbf /Mk/bsd.ccache.mk | |
parent | d500249dad37a23d253d2c9245ceac24e6a88098 (diff) | |
download | ports-bc8870a852d253b6e03abb66e1a2d3611fc0c4a0.tar.gz ports-bc8870a852d253b6e03abb66e1a2d3611fc0c4a0.zip |
- Add compat for NOCCACHE -> NO_CCACHE
Notes
Notes:
svn path=/head/; revision=514247
Diffstat (limited to 'Mk/bsd.ccache.mk')
-rw-r--r-- | Mk/bsd.ccache.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/bsd.ccache.mk b/Mk/bsd.ccache.mk index 9e30947aa8a1..ffc95a3ff034 100644 --- a/Mk/bsd.ccache.mk +++ b/Mk/bsd.ccache.mk @@ -12,6 +12,10 @@ COMMANDS_Include_MAINTAINER= portmgr@FreeBSD.org _CCACHEMKINCLUDED= yes +.if defined(NOCCACHE) +NO_CCACHE= t +.endif + # HOME is always set to ${WRKDIR} now. Try to use /root/.ccache as default. .if defined(WITH_CCACHE_BUILD) && !defined(CCACHE_DIR) . if defined(USER) && ${USER} == root @@ -25,7 +29,7 @@ WARNING+= WITH_CCACHE_BUILD support disabled, please set CCACHE_DIR. # Support NO_CCACHE for common setups, require WITH_CCACHE_BUILD, and # don't use if ccache already set in CC .if !defined(NO_CCACHE) && defined(WITH_CCACHE_BUILD) && !${CC:M*ccache*} && \ - !defined(NO_BUILD) && !defined(NOCCACHE) + !defined(NO_BUILD) # Avoid depends loops between ccache and pkg . if !defined(NO_CCACHE_DEPEND) && \ |