svn commit: r328465 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Fri Sep 27 13:17:14 UTC 2013
Author: bdrewery
Date: Fri Sep 27 13:17:14 2013
New Revision: 328465
URL: http://svnweb.freebsd.org/changeset/ports/328465
Log:
- Don't needlessly depend on ccache with WITH_CCACHE_BUILD when NO_BUILD is set
With hat: portmgr
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Fri Sep 27 13:03:56 2013 (r328464)
+++ head/Mk/bsd.port.mk Fri Sep 27 13:17:14 2013 (r328465)
@@ -2169,7 +2169,8 @@ BUILD_FAIL_MESSAGE+= Try to set MAKE_JOB
# 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
More information about the svn-ports-all
mailing list