Subject: Re: TOUCH_FLAGS in bsd.pkg.mk
To: None <tech-pkg@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 07/12/2006 10:54:10
Gilles Dauphin wrote:
> The TOUCH_FLAGS is wrong for solaris.
>
> bsd.pkg.mk: TOUCH_FLAGS?= -f
>
> Maybe set it in tools.SunOS.mk after the define of TOUCH
>
> in tools/tools.SunOS.mk:
> TOOLS_PLATFORM.touch?= /usr/bin/touch
> TOUCH_FLAGS?= #empty
>
> this flag is a problem when building clisp.
It should not be. Both Solaris 8 and Solaris 10 state in touch(1):
NOTES
Users familiar with the BSD environment will find that for
the touch utility the -f option is accepted but ignored. The
-f option is unnecessary because touch will succeed for all
files owned by the user regardless of the permissions on the
files.
Roland