Subject: Re: including -f in RM definition?
To: Georg Schwarz <>
From: Todd Vierling <>
List: tech-pkg
Date: 01/21/2006 18:54:36
On Sat, 21 Jan 2006, Georg Schwarz wrote:

> I just came across the problem that a RM command in a Makefile would not
> delete a file since the user was lacking write permissions to it. The
> file had been unpacked from a downloaded archive and was probably stored
> there without the user write permissons bit set.
> To deal with such issues I propose to add a -f to the TOOLS_PLATFORM.rm
> definition in mk/tools/tools.*.mk.
> What do others think?

Short answer:  No.

Long answer:  It's not pkgsrc's job to make the tools act unlike the real
thing, and making "rm" imply its -f option is doing just that.  Fix the
offending Makefile via a patch, and supply the patch back to the author.

-- Todd Vierling <> <> <>