pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/npm



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri May 13 10:52:28 UTC 2022

Modified Files:
        pkgsrc/lang/npm: Makefile

Log Message:
npm: Switch to nodeversion.mk.

The latest lang/nodejs dropped support for a number of older OS, this gets npm
building again.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/lang/npm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/npm/Makefile
diff -u pkgsrc/lang/npm/Makefile:1.48 pkgsrc/lang/npm/Makefile:1.49
--- pkgsrc/lang/npm/Makefile:1.48       Thu May  5 10:52:39 2022
+++ pkgsrc/lang/npm/Makefile    Fri May 13 10:52:27 2022
@@ -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 @@ HOMEPAGE=     https://github.com/npm/cli
 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 @@ do-install:
        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