pkgsrc-WIP-changes archive

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

mk/git-package.mk: use newly created tool "git" instead of TOOL_DEPENDS



Module Name:	pkgsrc-wip
Committed By:	Aleksey Cheusov <vle%gmx.net@localhost>
Pushed By:	cheusov
Date:		Wed Jul 3 17:28:37 2024 +0400
Changeset:	4dfaa31d125f5eb9b897d4019bfae4ecf21b7af3

Modified Files:
	mk/git-package.mk

Log Message:
mk/git-package.mk: use newly created tool "git" instead of TOOL_DEPENDS

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

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

diffstat:
 mk/git-package.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/mk/git-package.mk b/mk/git-package.mk
index efb8491445..b3d0bce803 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -85,7 +85,7 @@
 #
 # Keywords: git github
 
-TOOL_DEPENDS+=		git-base>=1.6.4:../../devel/git-base
+USE_TOOLS+=		git
 
 # Defaults for package-settable variables
 DISTFILES?=		# empty
@@ -124,7 +124,7 @@ GIT_EXTRACTDIR.${repo}?= ${GIT_MODULE.${repo}}
 
 USE_TOOLS+=		date gzip pax
 
-_GIT_CMD=		${TOOLBASE}/bin/git
+_GIT_CMD=		${TOOLS_PATH.git}
 _GIT_CHECKOUT_FLAGS=	--quiet
 _GIT_PKGVERSION_CMD=	${DATE} -u +'%Y.%m.%d'
 _GIT_PKGVERSION=	${_GIT_PKGVERSION_CMD:sh}


Home | Main Index | Thread Index | Old Index