diff options
| author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2026-06-18 21:14:20 +0000 |
|---|---|---|
| committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2026-06-18 21:14:20 +0000 |
| commit | b6c45399597eefb4ac2a70e9d4ee5e7f3b34b8e5 (patch) | |
| tree | e1219c74b89a958c5c77b794ff1179595fab8535 | |
| parent | adef95349563aba30c088c73403dcbc9dcafa5b7 (diff) | |
mail/thunderbird-esr: fix build on 2026Q2
The build failed with (and probably because of) the old rust in
Quarterly, as some of the cargo-checksum.json files in
comm/third_party/rust (the thunderbird part) referenced .gitmodules
files which are not present in the release tarball.
Stripping out these references (most easily with sed) fixes the build.
This is a stop-gap fix in 2026Q2 only - the build on main is fine,
and the 2026Q2 will be closed in two weeks anyway.
| -rw-r--r-- | mail/thunderbird-esr/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile index c2b81d99cdfa..45f666e048e8 100644 --- a/mail/thunderbird-esr/Makefile +++ b/mail/thunderbird-esr/Makefile @@ -62,6 +62,9 @@ post-patch: ${WRKSRC}/comm/mail/app/nsMailApp.cpp @${REINPLACE_CMD} -e 's|wasm32-wasi|&p1|' \ ${WRKSRC}/build/moz.configure/toolchain.configure + ${FIND} ${WRKSRC}/comm/third_party/rust -name .cargo-checksum.json | \ + ${XARGS} ${REINPLACE_CMD} \ + 's,"\([a-z_]*/\)*.gitmodules":"[[:xdigit:]]\{64\}"\,,,' port-pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/defaults |
