diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-27 13:17:14 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-27 13:17:14 +0000 |
commit | f2b717c40135ef80ca800a77842dba2cef59c01b (patch) | |
tree | a44c7d60a66d1965535cda7c97770c32b80cba53 /Mk/bsd.port.mk | |
parent | 3887af0302f0a41099dd4b1b45d764e7ec79a5d4 (diff) | |
download | ports-f2b717c40135ef80ca800a77842dba2cef59c01b.tar.gz ports-f2b717c40135ef80ca800a77842dba2cef59c01b.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 6fc1d89c13f2..992e296f5496 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2169,7 +2169,8 @@ BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reportin # ccache support # 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*} +.if !defined(NO_CCACHE) && defined(WITH_CCACHE_BUILD) && !${CC:M*ccache*} && \ + !defined(NO_BUILD) # Avoid depends loops between pkg and ccache . if !${.CURDIR:M*/devel/ccache} && !${.CURDIR:M*/ports-mgmt/pkg} BUILD_DEPENDS+= ${LOCALBASE}/bin/ccache:${PORTSDIR}/devel/ccache |