1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix build with nondefailt LOCALBASE

PR:		175809
Submitted by:	myself
Approved by:	maintainer timeout
This commit is contained in:
Dmitry Marakasov 2013-02-26 16:18:10 +00:00
parent 02fd38e5e8
commit 6e92011f4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312990

View File

@ -27,6 +27,11 @@ CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-zlib
PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
REINPLACE_ARGS= -i ''
post-patch:
@${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/
${TOUCH} ${PREFIX}/lib/node_modules/.keepme