mk/git-package.mk and "--depth 1"

Aleksey Cheusov <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
Due to option "--depth 1" some packages based on git-package.mk
fail to build like this

    fatal: dumb http transport does not support --depth

Can I commit the following?

Index: mk/git-package.mk
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/mk/git-package.mk,v
retrieving revision 1.2
diff -u -r1.2 git-package.mk
--- mk/git-package.mk   3 Mar 2010 05:06:26 -0000       1.2
+++ mk/git-package.mk   7 Mar 2010 12:49:58 -0000
@@ -55,7 +55,7 @@

 _GIT_CMD=              git
 _GIT_ENV=              # empty
-_GIT_FLAGS=            --quiet --depth 1
+_GIT_FLAGS=            --quiet
 _GIT_PKGVERSION_CMD=   ${DATE} -u +'%Y.%m.%d'
 _GIT_PKGVERSION=       ${_GIT_PKGVERSION_CMD:sh}

-- 
Best regards, Aleksey Cheusov.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
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.