diff options
author | adam <adam@pkgsrc.org> | 2018-08-25 20:46:28 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-08-25 20:46:28 +0000 |
commit | 3d3a0a7ebf2dd80fed6373bff91b2876057e6022 (patch) | |
tree | 6f319f199d0391bdc26f292f87cd4f2a36e37e05 | |
parent | 644b7e0fd8f2c53e5d9918352be6b5235674c0ad (diff) | |
download | pkgsrc-3d3a0a7ebf2dd80fed6373bff91b2876057e6022.tar.gz |
npm: fix building with PKGREVISION
-rw-r--r-- | lang/npm/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/npm/Makefile b/lang/npm/Makefile index 203ff821052..ee8bb7fcce6 100644 --- a/lang/npm/Makefile +++ b/lang/npm/Makefile @@ -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 @@ do-install: 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} |