Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 16:32:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316049 - head/www/npm
Message-ID:  <201304181632.r3IGWflt022488@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304181632.r3IGWflt022488>