pkgsrc-WIP-changes archive

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

fresh: fix CARGO_INSTALL_ARGS for workspace root



Module Name:	pkgsrc-wip
Committed By:	ci4ic4 <ci4ic4%gmail.com@localhost>
Pushed By:	ci4ic4
Date:		Wed May 27 14:43:37 2026 +0100
Changeset:	fff7768cf02ece8aabeef50a29041b6d79be246a

Modified Files:
	fresh/Makefile

Log Message:
fresh: fix CARGO_INSTALL_ARGS for workspace root

Upstream moved the Cargo workspace root to the repo root in 0.3.9.
CARGO_WRKSRC must stay at the root for correct Cargo.lock discovery,
but cargo install needs --path pointing at the installable crate,
not the virtual workspace manifest.

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

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

diffstat:
 fresh/Makefile | 1 +
 1 file changed, 1 insertion(+)

diffs:
diff --git a/fresh/Makefile b/fresh/Makefile
index 27212c66b5..63bd74e5a5 100644
--- a/fresh/Makefile
+++ b/fresh/Makefile
@@ -18,6 +18,7 @@ USE_LANGUAGES=	c c++
 USE_TOOLS+=	pax
 
 CARGO_WRKSRC=	${WRKSRC}
+CARGO_INSTALL_ARGS=	install --path crates/fresh-editor --root ${DESTDIR}${PREFIX} ${DEFAULT_CARGO_ARGS}
 
 DISTFILES=	${DEFAULT_DISTFILES} ratatui-wgpu-cdcf5c6.tar.gz
 SITES.ratatui-wgpu-cdcf5c6.tar.gz= \


Home | Main Index | Thread Index | Old Index