Bug 198220 - [MAINTAINER] www/node-0.10 for stable node.js 0.10.x
Summary: [MAINTAINER] www/node-0.10 for stable node.js 0.10.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 12:09 UTC by linpct
Modified: 2015-03-06 15:29 UTC (History)
4 users (show)

See Also:


Attachments
node-0.10.shar (3.98 KB, text/plain)
2015-03-03 12:09 UTC, linpct
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description linpct 2015-03-03 12:09:40 UTC

    
Comment 1 linpct 2015-03-03 12:09:43 UTC
Created attachment 153709 [details]
node-0.10.shar
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-03-04 02:48:39 UTC
A commit references this bug:

Author: vanilla
Date: Wed Mar  4 02:47:54 UTC 2015
New revision: 380402
URL: https://svnweb.freebsd.org/changeset/ports/380402

Log:
  Readd nodejs 0.10.x

  PR:		198220
  Submitted by:	linpct@gmail.com

Changes:
  head/www/node010/
  head/www/node010/Makefile
  head/www/node010/distinfo
  head/www/node010/files/
  head/www/node010/pkg-descr
  head/www/node010/pkg-message
  head/www/node010/pkg-plist
Comment 3 Marcin Cieślak 2015-03-05 20:52:07 UTC
Can we also add node010 to the list of www/npm dependencies,
something like this below, since right now my poudriere
when asked to build "www/node010 www/npm" tries to build
"www/node" and "www/node010" in parallel:

[00:11:11] ====>> [02][00:00:13] Finished build of lang/python2: Success
[00:11:12] ====>> [01][00:00:00] Starting build of www/node
[00:11:12] ====>> [02][00:00:00] Starting build of www/node010
[00:27:25] ====>> [02][00:16:13] Finished build of www/node010: Success
[00:35:28] ====>> [01][00:24:16] Finished build of www/node: Success
[00:35:30] ====>> [01][00:00:00] Starting build of www/npm


--- Makefile.orig	2015-03-05 20:47:47.000000000 +0000
+++ Makefile	2015-03-05 20:48:50.000000000 +0000
@@ -12,10 +12,11 @@
 LICENSE=	MIT
 
 OPTIONS_SINGLE=	BACKEND
-OPTIONS_SINGLE_BACKEND=	IOJS NODE NODE_DEVEL
+OPTIONS_SINGLE_BACKEND=	IOJS NODE NODE_DEVEL NODE010
 OPTIONS_DEFAULT=NODE
 IOJS_DESC=	Use www/iojs as backend
 NODE_DESC=	Use www/node as backend
+NODE010_DESC=	Use www/node010 as backend
 NODE_DEVEL_DESC=Use www/node-devel as backend
 
 MAKE_ARGS=	npm_config_prefix=${STAGEDIR}${PREFIX}
@@ -31,6 +32,7 @@
 IOJS_RUN_DEPENDS=	iojs>=1.0.0:${PORTSDIR}/www/iojs
 NODE_DEVEL_RUN_DEPENDS=	node-devel>=0.8.0:${PORTSDIR}/www/node-devel
 NODE_RUN_DEPENDS=	node>=0.8.0:${PORTSDIR}/www/node
+NODE010_RUN_DEPENDS=	node>=0.8.0:${PORTSDIR}/www/node010
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|node cli.js|& --cache ${WRKDIR}/.cache|' ${WRKSRC}/Makefile
Comment 4 Vanilla I. Shu freebsd_committer freebsd_triage 2015-03-06 01:31:35 UTC
reopen for npm's change
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-03-06 15:25:57 UTC
A commit references this bug:

Author: sunpoet
Date: Fri Mar  6 15:25:54 UTC 2015
New revision: 380602
URL: https://svnweb.freebsd.org/changeset/ports/380602

Log:
  - Add NODE010 option

  PR:		198220
  Submitted by:	Marcin Cieslak <saper@saper.info>

Changes:
  head/www/npm/Makefile
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-03-06 15:26:34 UTC
Committed. Thanks!
Comment 7 Marcin Cieślak 2015-03-06 15:29:53 UTC
You guys are fantastic.

As I started digging into porting node-sass to FreeBSD I needed the way to quickly build binaries for node 0.10 as well.

In that moment, driven by some telepathy vanilla@ added www/node010 port.

And now everything gets committed so quick! Thank you for doing this!