Commit Graph

3 Commits

Author SHA1 Message Date
Itai Ferber
2de6608e81 dev-lang/swift: ignore rm failure in postrm
The postrm() phase attempts to remove symlinks to installed Swift
versions; the `rm` invocation was missing `|| die` or `-f` to clearly
indicate what should happen on failure. (In this case, it's okay to
ignore the error and move on.)

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-22 10:12:06 -04:00
Itai Ferber
712f2b61ba dev-lang/swift: fix building when dev-libs/libdispatch is present
Swift currently fails to build if `dev-libs/libdispatch` is installed
because it globally installs private `libdispatch` headers which get
unexpectedly picked up during the Swift build. Since the headers are not
expected to be present when building Swift on non-Darwin platforms, the
check for the header can be patched out.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-19 21:49:36 -04:00
Itai Ferber
4f760635c2 dev-lang/swift: fix swift-6.3 SLOT
swift-6.3 was accidentally introduced with a SLOT of "6/2" when it
should be "6/3"

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2026-04-19 21:49:32 -04:00