Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111493999
D29287.id85832.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D29287.id85832.diff
View Options
Index: devel/node-gyp/Makefile
===================================================================
--- devel/node-gyp/Makefile
+++ devel/node-gyp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gyp
DISTVERSIONPREFIX= v
DISTVERSION= 7.1.2
+PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= node-
@@ -12,6 +13,7 @@
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/bin/npm:www/npm
+RUN_DEPENDS= ${LOCALBASE}/bin/npm:www/npm
USE_GITHUB= yes
GH_ACCOUNT= nodejs
@@ -27,5 +29,7 @@
"! ( -name \.* -or -path *\/\.github\/* -or -name test -or -path *\/test\/* )")
${RLN} ${STAGEDIR}${PREFIX}/lib/node_modules/node-gyp/bin/node-gyp.js \
${STAGEDIR}${PREFIX}/bin/node-gyp
+ ${RLN} ${LOCALBASE}/lib/node_modules/npm/node_modules \
+ ${STAGEDIR}${PREFIX}/node_modules
.include <bsd.port.mk>
Index: devel/node-gyp/pkg-plist
===================================================================
--- devel/node-gyp/pkg-plist
+++ devel/node-gyp/pkg-plist
@@ -93,3 +93,4 @@
lib/node_modules/node-gyp/package.json
lib/node_modules/node-gyp/src/win_delay_load_hook.cc
lib/node_modules/node-gyp/update-gyp.py
+node_modules
Index: textproc/node-re2/Makefile
===================================================================
--- textproc/node-re2/Makefile
+++ textproc/node-re2/Makefile
@@ -45,13 +45,13 @@
do-configure:
(cd ${WRKSRC} && \
- ${SETENV} HOME=${WRKDIR} NODE_PATH=${LOCALBASE}/lib/node_modules/npm/node_modules \
+ ${SETENV} HOME=${WRKDIR} \
${LOCALBASE}/bin/node-gyp configure --python=${PYTHON_CMD} \
--devdir=${_DEVDIR})
do-build:
(cd ${WRKSRC} && \
- ${SETENV} HOME=${WRKDIR} NODE_PATH=${LOCALBASE}/lib/node_modules/npm/node_modules \
+ ${SETENV} HOME=${WRKDIR} \
${LOCALBASE}/bin/node-gyp build \
--devdir=${_DEVDIR})
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 5, 11:37 AM (9 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16987487
Default Alt Text
D29287.id85832.diff (1 KB)
Attached To
Mode
D29287: Fix node-gyp run time.
Attached
Detach File
Event Timeline
Log In to Comment