[Bug 270858] lang/nim Invalid path to documentation in compiler source code
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270858] lang/nim: Fix invalid path to documentation in compiler source code"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270858] lang/nim: Fix invalid path to documentation in compiler source code"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270858] lang/nim: Fix invalid path to documentation in compiler source code"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270858] lang/nim: Fix invalid path to documentation in compiler source code"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Apr 2023 08:31:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270858 Bug ID: 270858 Summary: lang/nim Invalid path to documentation in compiler source code Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: thindil@laeran.pl.eu.org CC: ports@nicandneal.net CC: ports@nicandneal.net Flags: maintainer-feedback?(ports@nicandneal.net) Created attachment 241505 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241505&action=edit invalid_doc_paths.patch By default, the file compiler/commands.nim contains a hard-coded path "../doc" to two documentation files, which are loaded during compilation into a code. While during compilation of Nim itself it isn't a problem, trying to use later the compiler source code in any project can cause issues as the documentation is in different place. The patch updates the paths in the compiler/commands.nim file to the new location "/usr/local/share/doc/nim" after build the package. -- You are receiving this mail because: You are the assignee for the bug.