Index: head/devel/rubygem-execjs/Makefile =================================================================== --- head/devel/rubygem-execjs/Makefile (revision 414111) +++ head/devel/rubygem-execjs/Makefile (revision 414112) @@ -1,22 +1,27 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= execjs PORTVERSION= 2.6.0 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= ExecJS lets you run JavaScript code from Ruby LICENSE= MIT RUN_DEPENDS= node:www/node NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes + +post-patch: + @${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#' \ + ${WRKSRC}/lib/${PORTNAME}/runtimes.rb .include Index: head/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb =================================================================== --- head/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb (nonexistent) +++ head/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb (revision 414112) @@ -0,0 +1,11 @@ +--- lib/execjs/runtimes.rb.orig 2016-04-25 16:51:44 UTC ++++ lib/execjs/runtimes.rb +@@ -17,7 +17,7 @@ module ExecJS + + Node = ExternalRuntime.new( + name: "Node.js (V8)", +- command: ["nodejs", "node"], ++ command: ["nodejs", "node", "%%LOCALBASE%%/bin/node"], + runner_path: ExecJS.root + "/support/node_runner.js", + encoding: 'UTF-8' + ) Property changes on: head/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property