[Bug 261336] www/node: shouldn't this point to LTS version?

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Jan 2022 15:32:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261336

            Bug ID: 261336
           Summary: www/node: shouldn't this point to LTS version?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bhughes@freebsd.org
          Reporter: freebsd.org@neant.ro
          Assignee: bhughes@freebsd.org
             Flags: maintainer-feedback?(bhughes@freebsd.org)

Run `pkg install node`, it will install node17 (no npm). Now run `pkg install
npm`. It uninstalls node17 and install npm and node16.

I might be wrong, but I would expect www/node and www/npm (no version) to
install the same versions.

As far as I can tell the problem is that "npm" is set to depend on "node" (no
version), but the default node version in bsd.default-versions.mk is set to
LTS:

NODEJS_DEFAULT?=    lts

which right now results in the conflict described. If it's considered a
conflict. I know I can edit the defaults, I'm talking about the packages that
pkgng installs.

So the question actually is, shouldn't www/node and the build defaults point to
the same node version?

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