Date: Fri, 27 Sep 2013 13:17:14 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328465 - head/Mk Message-ID: <201309271317.r8RDHEU9092368@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309271317.r8RDHEU9092368>