mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
* Remove files/patch-lib-posix-posix.nim PR: 213304 Submitted by: wen Approved by: Neal Nelson <ports@nicandneal.net> (maintainer)
14 lines
573 B
Nim
14 lines
573 B
Nim
--- compiler/nimconf.nim.orig 2016-10-08 02:17:21 UTC
|
|
+++ compiler/nimconf.nim
|
|
@@ -221,9 +221,8 @@ proc getSystemConfigPath(filename: strin
|
|
# the UNIX way)
|
|
let p = getPrefixDir()
|
|
result = joinPath([p, "config", filename])
|
|
- when defined(unix):
|
|
- if not existsFile(result): result = joinPath([p, "etc", filename])
|
|
- if not existsFile(result): result = "/etc/" & filename
|
|
+ if not existsFile(result): result = joinPath([p, "etc", filename])
|
|
+ if not existsFile(result): result = "/etc/" & filename
|
|
|
|
proc loadConfigs*(cfg: string) =
|
|
setDefaultLibpath()
|