svn commit: r462894 - head/Mk

Mathieu Arnold mat at FreeBSD.org
Sun Feb 25 21:10:21 UTC 2018


On Sun, Feb 25, 2018 at 03:32:19AM +0000, Bryan Drewery wrote:
> Author: bdrewery
> Date: Sun Feb 25 03:32:18 2018
> New Revision: 462894
> URL: https://svnweb.freebsd.org/changeset/ports/462894
> 
> Log:
>   WITH_CCACHE_BUILD: Fix some ports not using proper CCACHE_DIR.
>   
>   Some ports will truncate CCACHE_DIR from the env and due to HOME=${WRKDIR}
>   will incorrectly use ${WRKDIR}/.ccache.  Symlink to the proper place.
>   
>   Approved by:	portmgr (implicit)
> 
> Modified:
>   head/Mk/bsd.ccache.mk
> 
> Modified: head/Mk/bsd.ccache.mk
> ==============================================================================
> --- head/Mk/bsd.ccache.mk	Sun Feb 25 03:23:21 2018	(r462893)
> +++ head/Mk/bsd.ccache.mk	Sun Feb 25 03:32:18 2018	(r462894)
> @@ -51,6 +51,13 @@ MAKE_ENV+=		CCACHE_DIR="${CCACHE_DIR}"
>  CONFIGURE_ENV+=	CCACHE_DIR="${CCACHE_DIR}"
>  .	endif
>  .endif
> +
> +# Some ports will truncate CCACHE_DIR from the env and due to HOME=${WRKDIR}
> +# will incorrectly use ${WRKDIR}/.ccache.  Symlink to the proper place.
> +${WRKDIR}/.ccache: ${WRKDIR}
> +	@${LN} -sf ${CCACHE_DIR} ${WRKDIR}/.ccache
> +ccache-wrkdir-link: ${WRKDIR}/.ccache .PHONY
> +post-extract: ccache-wrkdir-link

Please add ccache-wrkdir-link to the regular pipe in Mk/bsd.port.mk, in
_EXTRACT_SEQ.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20180225/58b81350/attachment.sig>


More information about the svn-ports-all mailing list