pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/nodejs
Module Name: pkgsrc
Committed By: pho
Date: Wed Oct 26 13:00:20 UTC 2016
Modified Files:
pkgsrc/lang/nodejs: Makefile.common
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/nodejs/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/nodejs/Makefile.common
diff -u pkgsrc/lang/nodejs/Makefile.common:1.11 pkgsrc/lang/nodejs/Makefile.common:1.12
--- pkgsrc/lang/nodejs/Makefile.common:1.11 Tue Oct 25 19:54:39 2016
+++ pkgsrc/lang/nodejs/Makefile.common Wed Oct 26 13:00:20 2016
@@ -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 @@ BUILD_DEPENDS+= lockf-[0-9]*:../../sysut
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