mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- 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
This commit is contained in:
parent
5a73402b76
commit
e4dda689a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316049
@ -44,6 +44,9 @@ RUN_DEPENDS+= node-devel>=0.8.0:${PORTSDIR}/www/node-devel
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user