svn commit: r316049 - head/www/npm

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Apr 18 16:32:41 UTC 2013


Author: sunpoet
Date: Thu Apr 18 16:32:40 2013
New Revision: 316049
URL: http://svnweb.freebsd.org/changeset/ports/316049

Log:
  - Change cache directory from ~/.npm to WRKSRC/tmp to avoid access on ~root/
  
  PR:		ports/177091
  Submitted by:	John Marino <draco at marino.st>
  Obtained from:	crees
  Feature safe:	yes

Modified:
  head/www/npm/Makefile

Modified: head/www/npm/Makefile
==============================================================================
--- head/www/npm/Makefile	Thu Apr 18 16:13:41 2013	(r316048)
+++ head/www/npm/Makefile	Thu Apr 18 16:32:40 2013	(r316049)
@@ -44,6 +44,9 @@ RUN_DEPENDS+=	node-devel>=0.8.0:${PORTSD
 RUN_DEPENDS+=	node>=0.8.0:${PORTSDIR}/www/node
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|node cli.js|& --cache ${WRKSRC}/tmp|' ${WRKSRC}/Makefile
+
 # maintainer section:
 # require: bash, git, gmake, node
 


More information about the svn-ports-head mailing list