pkgsrc-WIP-changes archive

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

git-package.mk: TOOLBASE/LOCALBASE split



Module Name:	pkgsrc-wip
Committed By:	Taylor R Campbell <riastradh%NetBSD.org@localhost>
Pushed By:	riastradh
Date:		Sat Jun 24 18:36:31 2023 +0000
Changeset:	7a9f2a38ea6827505778890528767f6818052790

Modified Files:
	mk/git-package.mk

Log Message:
git-package.mk: TOOLBASE/LOCALBASE split

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

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 a0c318c148..efb8491445 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -124,7 +124,7 @@ GIT_EXTRACTDIR.${repo}?= ${GIT_MODULE.${repo}}
 
 USE_TOOLS+=		date gzip pax
 
-_GIT_CMD=		${PREFIX}/bin/git
+_GIT_CMD=		${TOOLBASE}/bin/git
 _GIT_CHECKOUT_FLAGS=	--quiet
 _GIT_PKGVERSION_CMD=	${DATE} -u +'%Y.%m.%d'
 _GIT_PKGVERSION=	${_GIT_PKGVERSION_CMD:sh}
@@ -250,4 +250,4 @@ _SYS_VARS.git+=		${varbase}.${repo}
 .  endfor
 .endfor
 _DEF_VARS.git+=		TOOL_DEPENDS USE_TOOLS WARNINGS _GIT_DISTDIR _GIT_CHECKOUT_FLAGS
-_USE_VARS.git+=		PKGBASE DISTDIR WRKDIR PREFIX _GIT_PKGVERSION
+_USE_VARS.git+=		PKGBASE DISTDIR WRKDIR TOOLBASE _GIT_PKGVERSION


Home | Main Index | Thread Index | Old Index