summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-09-08 17:29:00 +0200
committerTobias Kortkamp <tobik@FreeBSD.org>2021-09-19 11:03:22 +0200
commiteeb4b50dde8f23b2513958e5031d40a1057c7782 (patch)
treef3d1ada561427e2808bb386571043c17609e388c /devel
parentUses/cargo: respect CC when --target is passed (diff)
Uses/cargo: Unbreak ports with CARGO_BUILD_TARGET set
While here fix their WITH_DEBUG builds too.
Diffstat (limited to 'devel')
-rw-r--r--devel/pijul/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/pijul/Makefile b/devel/pijul/Makefile
index 17bfbdc9cf17..8eea8ce5a542 100644
--- a/devel/pijul/Makefile
+++ b/devel/pijul/Makefile
@@ -283,7 +283,7 @@ post-patch:
${MV} ${WRKSRC}/cargo-crates/pijul-1.0.0-alpha.54/* ${WRKSRC}/
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/target/release/pijul ${STAGEDIR}${PREFIX}/bin/pijul
+ ${INSTALL_SCRIPT} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/pijul ${STAGEDIR}${PREFIX}/bin/pijul
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pijul