Re: bsd.port.mk.5: USE_CCACHE does not install ccache

2022-02-21 Thread Marc Espie
On Sun, Feb 20, 2022 at 06:53:08PM +, Klemens Nanni wrote:
> Dependency handling prevents doing that now (see bsd.port.mk r1.1544)
> and we just check for /usr/local/bin/ccache, so keep up to date without
> specifying such implementation details.
> 
> OK?
> 
> Index: bsd.port.mk.5
> ===
> RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
> retrieving revision 1.556
> diff -u -p -r1.556 bsd.port.mk.5
> --- bsd.port.mk.5 18 Feb 2022 23:17:15 -  1.556
> +++ bsd.port.mk.5 20 Feb 2022 18:51:25 - @@ -3235,8 +3235,7 @@ User 
> settings.
>  Set to
>  .Sq Yes
>  to use ccache when building ports.
> -Adds a build dependency on devel/ccache, and sets up the build
> -environment so that it is used.
> +Sets up the build environment so that it is used.
>  .It Ev USE_GMAKE
>  Set to
>  .Sq Yes
> 
> 
I don't think the extra sentence actually adds anything.
On the other hand, a quick explanation of why you have to add it by hand
would be good.



Re: bsd.port.mk.5: USE_CCACHE does not install ccache

2022-02-20 Thread Stuart Henderson
On 2022/02/20 18:53, Klemens Nanni wrote:
> Dependency handling prevents doing that now (see bsd.port.mk r1.1544)
> and we just check for /usr/local/bin/ccache, so keep up to date without
> specifying such implementation details.
> 
> OK?
> 
> Index: bsd.port.mk.5
> ===
> RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
> retrieving revision 1.556
> diff -u -p -r1.556 bsd.port.mk.5
> --- bsd.port.mk.5 18 Feb 2022 23:17:15 -  1.556
> +++ bsd.port.mk.5 20 Feb 2022 18:51:25 - @@ -3235,8 +3235,7 @@ User 
> settings.
>  Set to
>  .Sq Yes
>  to use ccache when building ports.
> -Adds a build dependency on devel/ccache, and sets up the build
> -environment so that it is used.
> +Sets up the build environment so that it is used.
>  .It Ev USE_GMAKE
>  Set to
>  .Sq Yes
> 

yep



bsd.port.mk.5: USE_CCACHE does not install ccache

2022-02-20 Thread Klemens Nanni
Dependency handling prevents doing that now (see bsd.port.mk r1.1544)
and we just check for /usr/local/bin/ccache, so keep up to date without
specifying such implementation details.

OK?

Index: bsd.port.mk.5
===
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.556
diff -u -p -r1.556 bsd.port.mk.5
--- bsd.port.mk.5   18 Feb 2022 23:17:15 -  1.556
+++ bsd.port.mk.5   20 Feb 2022 18:51:25 - @@ -3235,8 +3235,7 @@ User 
settings.
 Set to
 .Sq Yes
 to use ccache when building ports.
-Adds a build dependency on devel/ccache, and sets up the build
-environment so that it is used.
+Sets up the build environment so that it is used.
 .It Ev USE_GMAKE
 Set to
 .Sq Yes