aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-02-27 00:17:49 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-02-27 00:17:49 +0800
commitf3319af28baa8d3a93935e2c92e185100e2207d5 (patch)
treef7ac1403e0cbcf576ba656e036430b9caf47f774 /www
parent656ce798ff24263e305436eb584807c18d135e25 (diff)
downloadfreebsd-ports-gnome-f3319af28baa8d3a93935e2c92e185100e2207d5.tar.gz
freebsd-ports-gnome-f3319af28baa8d3a93935e2c92e185100e2207d5.tar.zst
freebsd-ports-gnome-f3319af28baa8d3a93935e2c92e185100e2207d5.zip
- Fix build with nondefailt LOCALBASE
PR: 175809 Submitted by: myself Approved by: maintainer timeout
Diffstat (limited to 'www')
-rw-r--r--www/node/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/node/Makefile b/www/node/Makefile
index 05f04944c708..88a169cf2449 100644
--- a/www/node/Makefile
+++ b/www/node/Makefile
@@ -29,6 +29,9 @@ REINPLACE_ARGS= -i ''
post-patch:
@${RM} ${WRKSRC}/tools/wafadmin/Node.py.orig
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/deps/v8/build/common.gypi \
+ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp
post-install:
${MKDIR} ${PREFIX}/lib/node_modules/