Bug 206632 - devel/rubygem-execjs: Add node version selection OPTIONS
Summary: devel/rubygem-execjs: Add node version selection OPTIONS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords: easy, feature, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-01-26 04:57 UTC by j.david.lists
Modified: 2016-09-08 17:14 UTC (History)
1 user (show)

See Also:
amdmi3: maintainer-feedback-


Attachments
Patch to change which node port rubygem-execjs depends on (677 bytes, patch)
2016-01-26 04:57 UTC, j.david.lists
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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