Page MenuHomeFreeBSD

Fix node-gyp run time.
ClosedPublic

Authored by otis on Mar 16 2021, 12:39 PM.
Tags
None
Referenced Files
F144328383: D29287.id85855.diff
Sat, Feb 7, 9:15 PM
Unknown Object (File)
Sun, Feb 1, 12:39 AM
Unknown Object (File)
Sat, Jan 31, 2:20 AM
Unknown Object (File)
Sat, Jan 10, 10:17 PM
Unknown Object (File)
Dec 25 2025, 7:44 PM
Unknown Object (File)
Dec 19 2025, 4:41 PM
Unknown Object (File)
Dec 11 2025, 7:03 PM
Unknown Object (File)
Dec 1 2025, 6:56 PM
Subscribers

Details

Summary
  • Fix node-gyp runtime:
    • Link node_modules to package's base directory because node-gyp and node.js packages in general, is looking for node_modules directory in its base directory.
    • Pull in www/npm as a runtime dependency, too, as node-gyp requires npm node_modules on run time,
  • Build textproc/node-re2 without NODE_PATH explicitly defined.
Test Plan

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable