Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/lang/bun/files/patch-scripts_build_deps_webkit.ts
49052 views
1
-- Disable -baseline suffix for FreeBSD WebKit prebuilt download.
2
-- FreeBSD only provides a single amd64 WebKit prebuilt which should be
3
-- used for both baseline and optimized builds.
4
5
--- scripts/build/deps/webkit.ts.orig 2026-05-22 23:56:31 UTC
6
+++ scripts/build/deps/webkit.ts
7
@@ -62,7 +62,7 @@ function prebuiltSuffix(cfg: Config): string {
8
// Linux amd64 (glibc + musl) and Windows amd64. No baseline variant for
9
// arm64 or macOS. Suffix order matches the release asset names:
10
// bun-webkit-linux-amd64-musl-baseline-lto.tar.gz
11
- if (cfg.baseline && cfg.x64) s += "-baseline";
12
+ if (cfg.baseline && cfg.x64 && !cfg.freebsd) s += "-baseline";
13
if (cfg.debug) s += "-debug";
14
else if (cfg.lto) s += "-lto";
15
if (cfg.asan) s += "-asan";
16
17