From owner-svn-ports-all@FreeBSD.ORG Thu Apr 18 16:32:41 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 52703ECB; Thu, 18 Apr 2013 16:32:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4489DABD; Thu, 18 Apr 2013 16:32:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3IGWfgF022489; Thu, 18 Apr 2013 16:32:41 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3IGWflt022488; Thu, 18 Apr 2013 16:32:41 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201304181632.r3IGWflt022488@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 18 Apr 2013 16:32:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316049 - head/www/npm X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 16:32:41 -0000 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 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