pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/npm npm: Switch to nodeversion.mk.
details: https://anonhg.NetBSD.org/pkgsrc/rev/52bde03c304d
branches: trunk
changeset: 379217:52bde03c304d
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri May 13 10:52:27 2022 +0000
description:
npm: Switch to nodeversion.mk.
The latest lang/nodejs dropped support for a number of older OS, this gets npm
building again. Bump PKGREVISION.
diffstat:
lang/npm/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r b06052f61196 -r 52bde03c304d lang/npm/Makefile
--- a/lang/npm/Makefile Fri May 13 10:44:15 2022 +0000
+++ b/lang/npm/Makefile Fri May 13 10:52:27 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2022/05/05 10:52:39 adam Exp $
+# $NetBSD: Makefile,v 1.49 2022/05/13 10:52:27 jperkin Exp $
DISTNAME= npm-8.8.0
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=npm/}
GITHUB_PROJECT= cli
@@ -11,8 +12,6 @@
COMMENT= Package manager for JavaScript
LICENSE= artistic-2.0
-DEPENDS+= nodejs-[0-9]*:../../lang/nodejs
-
USE_TOOLS+= bash gmake perl
MAKE_JOBS_SAFE= no # building man-pages
@@ -48,5 +47,6 @@
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${PREFIX}/bin/node \
bin/npm-cli.js install -g -f ${PKGNAME_NOREV}.tgz
+.include "../../lang/nodejs/nodeversion.mk"
.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index