pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/npm npm: fix building with PKGREVISION
details: https://anonhg.NetBSD.org/pkgsrc/rev/59b58b60e7fd
branches: trunk
changeset: 312110:59b58b60e7fd
user: adam <adam%pkgsrc.org@localhost>
date: Sat Aug 25 20:46:28 2018 +0000
description:
npm: fix building with PKGREVISION
diffstat:
lang/npm/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0e1ef0911133 -r 59b58b60e7fd lang/npm/Makefile
--- a/lang/npm/Makefile Sat Aug 25 17:23:14 2018 +0000
+++ b/lang/npm/Makefile Sat Aug 25 20:46:28 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2018/08/22 09:45:21 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2018/08/25 20:46:28 adam Exp $
DISTNAME= cli-6.3.0
PKGNAME= ${DISTNAME:S/cli/npm/}
@@ -48,7 +48,7 @@
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${PREFIX}/bin/node \
bin/npm-cli.js pack
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${PREFIX}/bin/node \
- bin/npm-cli.js install -g -f ${PKGNAME}.tgz
+ bin/npm-cli.js install -g -f ${PKGNAME_NOREV}.tgz
.if ${PKGMANDIR} != "share/man"
${RM} -f -r ${DESTDIR}${PREFIX}/${PKGMANDIR}
${MV} ${DESTDIR}${PREFIX}/share/man ${DESTDIR}${PREFIX}/${PKGMANDIR}
Home |
Main Index |
Thread Index |
Old Index