pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust*: Use TOOLBASE, not PREFIX, for tool paths.
Module Name: pkgsrc-wip
Committed By: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Pushed By: riastradh
Date: Mon Jan 27 09:18:39 2025 +0000
Changeset: 97c1a3719d2357179dbb0c33ae8210518992d883
Modified Files:
rust177/Makefile
rust178/Makefile
rust181/Makefile
rust182/Makefile
rust183/Makefile
Log Message:
rust*: Use TOOLBASE, not PREFIX, for tool paths.
In cross-builds, TOOLBASE is where tools that can be executed at
build-time live. In native builds, it is the same as LOCALBASE,
which is almost always -- as in this case -- the same as PREFIX, so
no change to native builds.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=97c1a3719d2357179dbb0c33ae8210518992d883
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust177/Makefile | 4 ++--
rust178/Makefile | 4 ++--
rust181/Makefile | 4 ++--
rust182/Makefile | 4 ++--
rust183/Makefile | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diffs:
diff --git a/rust177/Makefile b/rust177/Makefile
index 9d692cda10..4f0336137a 100644
--- a/rust177/Makefile
+++ b/rust177/Makefile
@@ -407,8 +407,8 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-bootstrap
TOOL_DEPENDS+= coreutils>=0:../../sysutils/coreutils
TOOL_DEPENDS+= gzip>=0:../../archivers/gzip
TOOLS_CREATE+= md5sum
-TOOLS_PATH.md5sum= ${PREFIX}/bin/gmd5sum
-TOOLS_PLATFORM.gzcat= ${PREFIX}/bin/gzip -cd
+TOOLS_PATH.md5sum= ${TOOLBASE}/bin/gmd5sum
+TOOLS_PLATFORM.gzcat= ${TOOLBASE}/bin/gzip -cd
.endif
SUBST_CLASSES+= prefix
diff --git a/rust178/Makefile b/rust178/Makefile
index a5c630bac4..dd533d7388 100644
--- a/rust178/Makefile
+++ b/rust178/Makefile
@@ -407,8 +407,8 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-bootstrap
TOOL_DEPENDS+= coreutils>=0:../../sysutils/coreutils
TOOL_DEPENDS+= gzip>=0:../../archivers/gzip
TOOLS_CREATE+= md5sum
-TOOLS_PATH.md5sum= ${PREFIX}/bin/gmd5sum
-TOOLS_PLATFORM.gzcat= ${PREFIX}/bin/gzip -cd
+TOOLS_PATH.md5sum= ${TOOLBASE}/bin/gmd5sum
+TOOLS_PLATFORM.gzcat= ${TOOLBASE}/bin/gzip -cd
.endif
SUBST_CLASSES+= prefix
diff --git a/rust181/Makefile b/rust181/Makefile
index 419502a1b7..c1f3a16c46 100644
--- a/rust181/Makefile
+++ b/rust181/Makefile
@@ -398,8 +398,8 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-bootstrap
TOOL_DEPENDS+= coreutils>=0:../../sysutils/coreutils
TOOL_DEPENDS+= gzip>=0:../../archivers/gzip
TOOLS_CREATE+= md5sum
-TOOLS_PATH.md5sum= ${PREFIX}/bin/gmd5sum
-TOOLS_PLATFORM.gzcat= ${PREFIX}/bin/gzip -cd
+TOOLS_PATH.md5sum= ${TOOLBASE}/bin/gmd5sum
+TOOLS_PLATFORM.gzcat= ${TOOLBASE}/bin/gzip -cd
.endif
SUBST_CLASSES+= prefix
diff --git a/rust182/Makefile b/rust182/Makefile
index 7b48d0b544..11cb2833f4 100644
--- a/rust182/Makefile
+++ b/rust182/Makefile
@@ -395,8 +395,8 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-bootstrap
TOOL_DEPENDS+= coreutils>=0:../../sysutils/coreutils
TOOL_DEPENDS+= gzip>=0:../../archivers/gzip
TOOLS_CREATE+= md5sum
-TOOLS_PATH.md5sum= ${PREFIX}/bin/gmd5sum
-TOOLS_PLATFORM.gzcat= ${PREFIX}/bin/gzip -cd
+TOOLS_PATH.md5sum= ${TOOLBASE}/bin/gmd5sum
+TOOLS_PLATFORM.gzcat= ${TOOLBASE}/bin/gzip -cd
.endif
SUBST_CLASSES+= prefix
diff --git a/rust183/Makefile b/rust183/Makefile
index e7c7e51f51..cba5ce52bb 100644
--- a/rust183/Makefile
+++ b/rust183/Makefile
@@ -400,8 +400,8 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-bootstrap
TOOL_DEPENDS+= coreutils>=0:../../sysutils/coreutils
TOOL_DEPENDS+= gzip>=0:../../archivers/gzip
TOOLS_CREATE+= md5sum
-TOOLS_PATH.md5sum= ${PREFIX}/bin/gmd5sum
-TOOLS_PLATFORM.gzcat= ${PREFIX}/bin/gzip -cd
+TOOLS_PATH.md5sum= ${TOOLBASE}/bin/gmd5sum
+TOOLS_PLATFORM.gzcat= ${TOOLBASE}/bin/gzip -cd
.endif
SUBST_CLASSES+= prefix
Home |
Main Index |
Thread Index |
Old Index