svn commit: r568508 - head/devel/node-gyp

Steve Wills steve at mouf.net
Wed Mar 17 19:27:59 UTC 2021


Hi,

On 3/16/21 6:19 PM, Mathieu Arnold wrote:
>
> The rationale being that given X ports that depend on a node module, you
> will probably need more than X versions of that module because they
> will all depend on incompatible versions of said module.


I think this applies to Go modules as well. It might be good to document 
this, if it isn't already. Maybe other things too, like Rust, etc? Even 
with python/ruby etc. there's a lot of need for multiple versions, but I 
guess it's not as much.


> A port that requires node modules must provide its own.  It can
> absolutely be by having an extra step for the maintainer to generate a
> tarball with all the required modules that can simply be extracted as
> needed.  I have not checked, but there are probably ports already doing
> this.
>

Which leads to the point that since ports/Mk/Uses/go.mk provides a way 
to do this, maybe ports/Mk/Uses/node.mk should as well? Just a thought.


Cheers,

Steve




More information about the svn-ports-head mailing list