pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

*: Replace GIT_DEEP_CLONE defined logic to YES set



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 25 19:22:54 2016 +0200
Changeset:	66d46d90ab526cfeb79d679ae1267cad7796dd71

Modified Files:
	cinelerra-git/Makefile
	gdb-git/Makefile
	mk/git-package.mk
	tamago-anthy/Makefile

Log Message:
*: Replace GIT_DEEP_CLONE defined logic to YES set

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=66d46d90ab526cfeb79d679ae1267cad7796dd71

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cinelerra-git/Makefile | 2 +-
 gdb-git/Makefile       | 2 +-
 mk/git-package.mk      | 2 +-
 tamago-anthy/Makefile  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/cinelerra-git/Makefile b/cinelerra-git/Makefile
index af99914..27e6150 100644
--- a/cinelerra-git/Makefile
+++ b/cinelerra-git/Makefile
@@ -10,7 +10,7 @@ LICENSE=	gnu-gpl-v2
 
 GIT_REPOSITORIES=	master
 GIT_REPO.master=	http://cinelerra.org/git-repo/cinelerra
-GIT_DEEP_CLONE.master=	# defined - server offers repository over dump protocol
+GIT_DEEP_CLONE.master=	yes # server offers repository over dumb protocol
 .include "../../wip/mk/git-package.mk"
 
 WRKSRC=			${WRKDIR}/cinelerra
diff --git a/gdb-git/Makefile b/gdb-git/Makefile
index 7fdeeea..2766460 100644
--- a/gdb-git/Makefile
+++ b/gdb-git/Makefile
@@ -5,7 +5,7 @@ DISTNAME=	gdb-7.9
 CATEGORIES=	devel
 GIT_REPOSITORIES=	gdb
 GIT_REPO.gdb=		git://sourceware.org/git/binutils-gdb.git
-GIT_DEEP_CLONE.gdb=	# defined - server dies on shallow clones
+GIT_DEEP_CLONE.gdb=	yes # server dies on shallow clones
 WRKSRC=         ${WRKDIR}/gdb
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
diff --git a/mk/git-package.mk b/mk/git-package.mk
index a4d0384..df594be 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -90,7 +90,7 @@ _GIT_FETCH_FLAGS.${repo}=	--quiet --recurse-submodules=yes --tags
 _GIT_CLONE_FLAGS.${repo}=	--quiet --recursive
 
 # For revision checkout we need deep copy
-. if !defined(GIT_REVISION.${repo}) && !defined(GIT_DEEP_CLONE.${repo})
+. if !defined(GIT_REVISION.${repo}) && !empty(GIT_DEEP_CLONE.${repo}:M[yY][eE][sS])
 _GIT_FETCH_FLAGS.${repo}+=	--depth 1
 _GIT_CLONE_FLAGS.${repo}+=	--depth 1
 . endif
diff --git a/tamago-anthy/Makefile b/tamago-anthy/Makefile
index 847b436..c62379e 100644
--- a/tamago-anthy/Makefile
+++ b/tamago-anthy/Makefile
@@ -32,7 +32,7 @@ DEPENDS+=	anthy-[0-9]*:../../inputmethod/anthy
 GIT_REPOSITORIES=	master
 GIT_MODULE.master=	egg
 GIT_REPO.master=	git://git.debian.org/git/pkg-anthy/egg.git
-GIT_DEEP_CLONE.master=	# defined
+GIT_DEEP_CLONE.master=	yes # defined
 
 GNU_CONFIGURE=	yes
 WRKSRC=			${WRKDIR}/egg


Home | Main Index | Thread Index | Old Index