Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (019513f952f79ea0ce0055de778c1cbfbe65d5a2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (019513f952f79ea0ce0055de778c1cbfbe65d5a2)
  • Date: Fri, 25 Dec 2020 22:38:12 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

devel/nodejs/DEPENDS | 1 +
devel/nodejs/HISTORY | 4 ++++
devel/nodejs/PRE_BUILD | 3 +++
devel/nodejs/patches/shared-uv.patch | 13 +++++++++++++
4 files changed, 21 insertions(+)

New commits:
commit 019513f952f79ea0ce0055de778c1cbfbe65d5a2
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

nodejs: Build against system libuv

diff --git a/devel/nodejs/DEPENDS b/devel/nodejs/DEPENDS
index 6d645d3..982c0d2 100755
--- a/devel/nodejs/DEPENDS
+++ b/devel/nodejs/DEPENDS
@@ -5,6 +5,7 @@ if ! is_depends_enabled ${SPELL} llvm; then
fi &&

depends python &&
+depends libuv '--shared-libuv' &&
depends zlib '--shared-zlib' &&
depends icu '--with-intl=system-icu' &&

diff --git a/devel/nodejs/HISTORY b/devel/nodejs/HISTORY
index 6b2ddfb..dbcd82f 100644
--- a/devel/nodejs/HISTORY
+++ b/devel/nodejs/HISTORY
@@ -1,3 +1,7 @@
+2020-12-25 Ismael Luceno <ismael AT iodev.co.uk>
+ * DEPENDS, PRE_BUILD, patches/shared-uv.patch:
+ Made it build against system libuv
+
2020-12-20 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 14.15.3

diff --git a/devel/nodejs/PRE_BUILD b/devel/nodejs/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/devel/nodejs/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git a/devel/nodejs/patches/shared-uv.patch
b/devel/nodejs/patches/shared-uv.patch
new file mode 100644
index 0000000..c6fdd56
--- /dev/null
+++ b/devel/nodejs/patches/shared-uv.patch
@@ -0,0 +1,13 @@
+--- a/deps/uvwasi/uvwasi.gyp
++++ b/deps/uvwasi/uvwasi.gyp
+@@ -18,9 +18,7 @@
+ 'src/wasi_rights.c',
+ 'src/wasi_serdes.c',
+ ],
+- 'dependencies': [
+- '../uv/uv.gyp:libuv',
+- ],
++ 'libraries': [ '-luv' ],
+ 'direct_dependent_settings': {
+ 'include_dirs': ['include']
+ },



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (019513f952f79ea0ce0055de778c1cbfbe65d5a2), Ismael Luceno, 12/25/2020

Archive powered by MHonArc 2.6.24.

Top of Page