git: a43d70b9cc8c - main - sysutils/rust-coreutils: Remove references to CARGO_BUILD_TARGET
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Dec 2024 21:38:37 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a43d70b9cc8c2e7036e48b68a54245d2d4b80a35
commit a43d70b9cc8c2e7036e48b68a54245d2d4b80a35
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-15 21:33:22 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-12-15 21:38:30 +0000
sysutils/rust-coreutils: Remove references to CARGO_BUILD_TARGET
Removed in f99a708957bdb6dbd26af0a561d00589337e0c6e
PR: 282857
Approved by: portmgr (maintainer timeout, 3+ weeks)
---
sysutils/rust-coreutils/Makefile | 2 --
sysutils/rust-coreutils/files/symlink-install-helper.sh.in | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/sysutils/rust-coreutils/Makefile b/sysutils/rust-coreutils/Makefile
index 2e579a8894f7..9e1607a27a51 100644
--- a/sysutils/rust-coreutils/Makefile
+++ b/sysutils/rust-coreutils/Makefile
@@ -27,8 +27,6 @@ post-build:
${CARGO_TARGET_DIR}/symlink-install-helper.sh
@${REINPLACE_CMD} -e 's|%%CARGO_TARGET_DIR%%|${CARGO_TARGET_DIR}|g' \
${CARGO_TARGET_DIR}/symlink-install-helper.sh
- @${REINPLACE_CMD} -e 's|%%CARGO_BUILD_TARGET%%|${CARGO_BUILD_TARGET}|g' \
- ${CARGO_TARGET_DIR}/symlink-install-helper.sh
@${REINPLACE_CMD} -e 's|%%SED%%|${SED}|g' \
${CARGO_TARGET_DIR}/symlink-install-helper.sh
@${REINPLACE_CMD} -e 's|%%TR%%|${TR}|g' \
diff --git a/sysutils/rust-coreutils/files/symlink-install-helper.sh.in b/sysutils/rust-coreutils/files/symlink-install-helper.sh.in
index 981db5f277b8..6dc78677de58 100644
--- a/sysutils/rust-coreutils/files/symlink-install-helper.sh.in
+++ b/sysutils/rust-coreutils/files/symlink-install-helper.sh.in
@@ -1,2 +1,2 @@
#!/bin/sh
-for i in $(%%GREP%% -o '".*"' %%CARGO_TARGET_DIR%%/%%CARGO_BUILD_TARGET%%/*/build/coreutils-*/out/uutils_map.rs | %%SED%% 's/"//g'| %%SED%% 's/$/ /g'| %%TR%% -d '\n'| %%TR%% -d '\r'); do %%RLN%% %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%coreutils %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%${i}; done
+for i in $(%%GREP%% -o '".*"' %%CARGO_TARGET_DIR%%/*/build/coreutils-*/out/uutils_map.rs | %%SED%% 's/"//g'| %%SED%% 's/$/ /g'| %%TR%% -d '\n'| %%TR%% -d '\r'); do %%RLN%% %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%coreutils %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%${i}; done