Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2023 08:31:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270858] lang/nim Invalid path to documentation in compiler source code
Message-ID:  <bug-270858-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270858

            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=3D241505&action=
=3Dedit
invalid_doc_paths.patch

By default, the file compiler/commands.nim contains a hard-coded path "../d=
oc"
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 la=
ter
the compiler source code in any project can cause issues as the documentati=
on
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270858-7788>