Subject: Re: TOUCH_FLAGS in bsd.pkg.mk
To: None <tech-pkg@NetBSD.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 07/12/2006 14:04:15
> 
> 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.

You are right, the error belong to me (empty arg file in touch command).

Gilles