Re: cvs-based WIP/ packages fail at extract stage under Linux

"OBATA Akio" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
On Sat, 11 Oct 2008 02:54:05 +0900, Aleksey Cheusov <[email protected]> wrote:

> Index: cvs-package.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc-wip/wip/mk/cvs-package.mk,v
> retrieving revision 1.27
> diff -u -r1.27 cvs-package.mk
> --- cvs-package.mk	19 Sep 2008 21:19:27 -0000	1.27
> +++ cvs-package.mk	10 Oct 2008 17:35:12 -0000
> @@ -137,7 +137,7 @@
>  _CVS_TAG_FLAG.${r}=	-r${CVS_TAG}
>  _CVS_TAG.${r}=		${CVS_TAG}
>  .  else
> -_CVS_TAG_FLAG.${r}=	-D${_CVS_TODAY}T00:00+0
> +_CVS_TAG_FLAG.${r}=	'-D${_CVS_TODAY} 00:00 +0000'
>  _CVS_TAG.${r}=		${_CVS_TODAY:Q}
>  .  endif
>  _CVS_DISTFILE.${r}=	${PKGBASE}-${CVS_MODULE.${r}}-${_CVS_TAG.${r}}.tar.gz
> @@ -171,7 +171,7 @@
>  	${STEP_MSG} "Downloading "${CVS_MODULE.${r}:Q}" from "${CVS_ROOT.${r}:Q}"."; \
>  	${SETENV} ${_CVS_ENV}						\
>  	  ${_CVS_CMD} ${_CVS_FLAGS} -d ${CVS_ROOT.${r}:Q}		\
> -	    checkout ${_CVS_CHECKOUT_FLAGS} ${_CVS_TAG_FLAG.${r}:Q}	\
> +	    checkout ${_CVS_CHECKOUT_FLAGS} ${_CVS_TAG_FLAG.${r}}	\
>  	      -d ${r} ${CVS_MODULE.${r}:Q};				\
>  	${STEP_MSG} "Creating cached CVS archive "${_CVS_DISTFILE.${r}:Q}"."; \
>  	${MKDIR} ${_CVS_DISTDIR:Q};					\

:Q modifier may not be removed from _CVS_TAG_FLAG.${r}.
It is also used for other than specifying TODAY.

-- 
"Of course I love NetBSD":-)
OBATA Akio / [email protected]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.