Bug 206632

Summary: devel/rubygem-execjs: Add node version selection OPTIONS
Product: Ports & Packages Reporter: j.david.lists
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People CC: ruby
Priority: --- Keywords: easy, feature, needs-qa, patch
Version: LatestFlags: amdmi3: maintainer-feedback-
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to change which node port rubygem-execjs depends on none

Description j.david.lists 2016-01-26 04:57:08 UTC
Created attachment 166129 [details]
Patch to change which node port rubygem-execjs depends on

devel/rubygem-execjs has a hardcoded dependency on www/node.  Node develops multiple versions simultaneously and the version in www/node is not compatible with other popular Node applications like Ghost.  And node does not support multiple coexisting versions at present.

This patch adds an option to select a node version to have as a runtime dependency (preserving the existing www/node as the default).

It is taken more or less straight from www/npm, which does actually support a few more options.  (There are something like six different node versions in the ports tree.)  The ones in this patch are the ones most likely to be of interest to execjs users.
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2016-09-08 17:09:04 UTC
Maintainer timeout.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-09-08 17:14:26 UTC
A commit references this bug:

Author: amdmi3
Date: Thu Sep  8 17:13:24 UTC 2016
New revision: 421568
URL: https://svnweb.freebsd.org/changeset/ports/421568

Log:
  - Allow to choose node backend version
  - While here, add LICENSE_FILE

  PR:		206632
  Submitted by:	j.david.lists@gmail.com
  Approved by:	maintainer timeout (ruby, 7 months)

Changes:
  head/devel/rubygem-execjs/Makefile