Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id DA7227A1AE for ; Wed, 26 Oct 2016 13:00:21 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 86A2085E9A; Wed, 26 Oct 2016 13:00:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1770485E7F for ; Wed, 26 Oct 2016 13:00:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Dea845l1HRJV for ; Wed, 26 Oct 2016 13:00:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 736DC84CBD for ; Wed, 26 Oct 2016 13:00:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 41127FBD2; Wed, 26 Oct 2016 13:00:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1477486820132180" MIME-Version: 1.0 Date: Wed, 26 Oct 2016 13:00:20 +0000 From: "Masatake Daimon" Subject: CVS commit: pkgsrc/lang/nodejs To: pkgsrc-changes@NetBSD.org Reply-To: pho@netbsd.org X-Mailer: log_accum Message-Id: <20161026130020.41127FBD2@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1477486820132180 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1477486820132180 Content-Disposition: inline Content-Length: 1357 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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: --_----------=_1477486820132180--