pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/nodejs Fix the path to mksnapshot.target.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/0c33cbb80877
branches: trunk
changeset: 354304:0c33cbb80877
user: pho <pho%pkgsrc.org@localhost>
date: Wed Oct 26 13:00:20 2016 +0000
description:
Fix the path to mksnapshot.target.mk
It's incorrect at least for nodejs-7.0.0
Also, use the subst framework rather than a hand-written target.
diffstat:
lang/nodejs/Makefile.common | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 18be321e4ac5 -r 0c33cbb80877 lang/nodejs/Makefile.common
--- a/lang/nodejs/Makefile.common Wed Oct 26 11:49:24 2016 +0000
+++ b/lang/nodejs/Makefile.common Wed Oct 26 13:00:20 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2016/10/25 19:54:39 fhajny Exp $
+# $NetBSD: Makefile.common,v 1.12 2016/10/26 13:00:20 pho Exp $
# used by lang/nodejs/Makefile
# used by lang/nodejs4/Makefile
# used by lang/nodejs6/Makefile
@@ -49,12 +49,11 @@
TEST_TARGET= check
.if defined(TOOLS_PLATFORM.paxctl)
-post-configure:
- ${SED} 's|call do_cmd,link)|call do_cmd,link)\${.newline} ${TOOLS_PLATFORM.paxctl} +m $$@|' \
- < ${WRKSRC}/out/deps/v8/tools/gyp/mksnapshot.target.mk \
- > ${WRKSRC}/out/deps/v8/tools/gyp/mksnapshot.target.mk.tmp
- ${MV} ${WRKSRC}/out/deps/v8/tools/gyp/mksnapshot.target.mk.tmp \
- ${WRKSRC}/out/deps/v8/tools/gyp/mksnapshot.target.mk
+SUBST_CLASSES+= mksnapshot
+SUBST_STAGE.mksnapshot= post-configure
+SUBST_FILES.mksnapshot= out/deps/v8/tools/gyp/mksnapshot.target.mk
+SUBST_FILES.mksnapshot+= out/deps/v8/src/mksnapshot.target.mk
+SUBST_SED.mksnapshot+= -e 's|call do_cmd,link)|call do_cmd,link)\${.newline} ${TOOLS_PLATFORM.paxctl} +m $$@|'
.endif
pre-install:
Home |
Main Index |
Thread Index |
Old Index