freebsd-ports/lang/nim/files/patch-config-nim.cfg
2023-08-31 11:43:40 +02:00

14 lines
444 B
INI

--- config/nim.cfg.orig 2023-08-02 14:51:21 UTC
+++ config/nim.cfg
@@ -130,10 +130,7 @@ nimblepath="$home/.nimble/pkgs/"
@end
@if unix:
- @if bsd:
- # BSD got posix_spawn only recently, so we deactivate it for osproc:
- define:useFork
- @elif haiku:
+ @if haiku:
gcc.options.linker = "-Wl,--as-needed -lnetwork"
gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork"
clang.options.linker = "-Wl,--as-needed -lnetwork"