| non port: Mk/Uses/npm.mk |
Number of commits found: 8 |
|
Wednesday, 12 Aug 2026
|
01:39 Hiroki Tagato (tagattie) Author: Bryan Everly
Mk/Uses/npm.mk: Fix typo (!defied -> !defined)
PR: 297455
Reported by: Bryan Everly <bryan@theeverlys.com>
df0c9b0 |
|
Friday, 31 Jul 2026
|
09:15 Hiroki Tagato (tagattie) Author: Shin-ichi Nagamura
Mk/Uses/npm.mk: Quote TMPDIR and WRKDIR in shell comparisons
When TMPDIR is unset, the generated shell command becomes:
if [ != ${WRKDIR} ]; then
and /bin/sh reports:
[: !=: unexpected operator
Quoting both variables fixes the issue.
PR: 297181
Reported by: Shin-ichi Nagamura <core@zsc.jp>
cbeb1be |
|
Sunday, 19 Jul 2026
|
14:09 Hiroki Tagato (tagattie)
Mk/Uses/npm.mk: Copy pnpm-workspace.yaml from PKGJSONSDIR to WRKSRC when it
exists
b700ef8 |
13:15 Hiroki Tagato (tagattie)
Mk/Uses/npm.mk: Remove temp directory in pnpm store before making archive
Leaving the directory in place may cause the node modules archive to
be unreproducible.
89e5e41 |
|
Tuesday, 14 Jul 2026
|
12:30 Hiroki Tagato (tagattie)
Mk/Uses/npm.mk: Unbreak make index
In the previous commit, NPM_VER_MAJOR and NPM_VER_MINOR are left
undefined when NPM_VER is manually specified. This change corrects the
error.
Reported by: Xavier Humbert <xavier@groumpf.org> (via ports),
antoine (via ports-committers)
Fixes: dad28f35db5a (Mk/Uses/npm.mk: Correct NPM version comparison)
ed58cde |
07:46 Hiroki Tagato (tagattie)
Mk/Uses/npm.mk: Correct NPM version comparison
Assuming NPM version follows the semantic versioning, NPM_VER:R was
used to obtain the major and the minor version of NPM. However, when
the minor version is equal or greater than 10, the comparison
NPM:R >= 11.3 does not make sense. This change corrects version
comparison using major and minor combination.
dad28f3 |
|
Tuesday, 30 Jun 2026
|
20:03 Tijl Coosemans (tijl)
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
b6ec06f |
|
Saturday, 27 Jun 2026
|
08:37 Hiroki Tagato (tagattie)
Mk/Uses/electron.mk: Split fetch- and extract-related codes out to npm.mk
Prefetch and extract functions are not necessarily limited to electron
ports. Those functions can be utilized by any ports which needs an
offline node modules installation.
Previously, non-electron ports wanting to use prefetch and/or extract
functions needs to use USES=electron:env, which is now removed in
favor of USES=npm:<package manager name>.
The following description:
USES= electron:env
USE_ELECTRON= npm:npm-name prefetch extract
is simplified to:
USES= npm:npm-name
ed6a84c |
Number of commits found: 8 |