> On Jan 17, 2021, at 9:22 AM, Ed Maste <ema...@freebsd.org> wrote:
> 
> The branch main has been updated by emaste:
> 
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=e83b514a9563d5812c9d158ff976f0de96bd90e0
> 
> commit e83b514a9563d5812c9d158ff976f0de96bd90e0
> Author:     Ed Maste <ema...@freebsd.org>
> AuthorDate: 2021-01-17 17:15:40 +0000
> Commit:     Ed Maste <ema...@freebsd.org>
> CommitDate: 2021-01-17 17:19:00 +0000
> 
>    cat: depend on Makefile to rebuild when WITH_CASPER changes
> 
>    We try to ensure building WITHOUT_CLEAN (or -DNO_CLEAN) works on an
>    ongoing basis.  b7ab6832cd98 changed cat to build w/o -DWITH_CASPER
>    by default; add a cat.o dependency on the Makefile so that it gets
>    rebuilt.
> ---
> bin/cat/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/bin/cat/Makefile b/bin/cat/Makefile
> index cce69d8aad9e..06bb071363f8 100644
> --- a/bin/cat/Makefile
> +++ b/bin/cat/Makefile
> @@ -22,5 +22,7 @@ SUBDIR.${MK_TESTS}+= tests
> #LIBADD+=        cap_net
> #CFLAGS+=-DWITH_CASPER
> #.endif
> +# Depend on Makefile to rebiuld when WITH_CASPER changes
> +cat.o:       Makefile


Hi Ed,

Could this maybe use ${MAKEFILE} or .MAKE.MAKEFILES, e.g.,  
${.MAKE.MAKEFILES:[0]}, instead?

IIRC meta mode might take care of this automatically, but bdrewery could answer 
this definitively.

Cheers!
-Enji
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to