[Bug 270858] lang/nim Invalid path to documentation in compiler source code

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Apr 2023 08:31:19 UTC

            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

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.