diff --git a/apel-git/Makefile b/apel-git/Makefile index 9fb31bc..cf332f5 100644 --- a/apel-git/Makefile +++ b/apel-git/Makefile @@ -13,6 +13,7 @@ GIT_REPOSITORIES= master GIT_REPO.master= http://git.chise.org/git/elisp/apel.git GIT_MODULE.master= apel #_GIT_FLAGS+= --quiet --depth 1 +GIT_DEPTH_SUPPORTED= no WRKSRC= ${WRKDIR}/${PKGBASE} INFO_FILES= yes diff --git a/mk/git-package.mk b/mk/git-package.mk index bada7c4..e756d53 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}) +. if !defined(GIT_REVISION.${repo}) && empty(GIT_DEPTH_SUPPORTED:M[Nn][Oo]) _GIT_FETCH_FLAGS.${repo}+= --depth 1 _GIT_CLONE_FLAGS.${repo}+= --depth 1 . endif