pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs8 nodejs8: cleanup and adopt to the small c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f535e5327f41
branches:  trunk
changeset: 410585:f535e5327f41
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jan 24 18:58:12 2020 +0000

description:
nodejs8: cleanup and adopt to the small changes in lang/nodejs/Makefile.common

diffstat:

 lang/nodejs8/Makefile                                |   9 +++--
 lang/nodejs8/distinfo                                |   3 +-
 lang/nodejs8/patches/patch-deps_uv_src_unix_netbsd.c |  30 --------------------
 3 files changed, 6 insertions(+), 36 deletions(-)

diffs (76 lines):

diff -r 725d33a91901 -r f535e5327f41 lang/nodejs8/Makefile
--- a/lang/nodejs8/Makefile     Fri Jan 24 18:57:09 2020 +0000
+++ b/lang/nodejs8/Makefile     Fri Jan 24 18:58:12 2020 +0000
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.24 2020/01/18 21:48:14 jperkin Exp $
+# $NetBSD: Makefile,v 1.25 2020/01/24 18:58:12 adam Exp $
 
 DISTNAME=      node-v8.17.0
+PKGREVISION=   1
 
-# Stated by the changelog as of 8.2.0
-GCC_REQD+=     4.9.4
+USE_LANGUAGES= c c++
 
-PKGREVISION= 1
 .include "options.mk"
 
 CONFIGURE_ARGS+=       --shared-http-parser
 CONFIGURE_ARGS+=       --with-intl=system-icu
 
+PYTHON_VERSIONS_ACCEPTED=      27
+
 .include "../../lang/nodejs/Makefile.common"
 .include "../../textproc/icu/buildlink3.mk"
 .include "../../www/http-parser/buildlink3.mk"
diff -r 725d33a91901 -r f535e5327f41 lang/nodejs8/distinfo
--- a/lang/nodejs8/distinfo     Fri Jan 24 18:57:09 2020 +0000
+++ b/lang/nodejs8/distinfo     Fri Jan 24 18:58:12 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2019/12/29 15:40:32 adam Exp $
+$NetBSD: distinfo,v 1.20 2020/01/24 18:58:12 adam Exp $
 
 SHA1 (node-v8.17.0.tar.gz) = 66b39f093c14e1243d1de15c4af6a9b4cfbc09f5
 RMD160 (node-v8.17.0.tar.gz) = 55eb1b26f3e9730ffb49fc061b763fb26817124d
@@ -7,7 +7,6 @@
 SHA1 (patch-common.gypi) = c7fee438a564003fb3624679ce94108ab397fec0
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
 SHA1 (patch-deps_uv_common.gypi) = 6a94a89866b272dcab60a01fd571057acd0ccd3b
-SHA1 (patch-deps_uv_src_unix_netbsd.c) = e1b5a3c611dbd08d0918d69dcf3331630158a1bc
 SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d
 SHA1 (patch-deps_v8_src_base_atomicops.h) = 552d2b7781b39b93392fd00043b1cf4cb10802da
 SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 686c2054838a25cfeed7fb9870a959e48dc4de35
diff -r 725d33a91901 -r f535e5327f41 lang/nodejs8/patches/patch-deps_uv_src_unix_netbsd.c
--- a/lang/nodejs8/patches/patch-deps_uv_src_unix_netbsd.c      Fri Jan 24 18:57:09 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-deps_uv_src_unix_netbsd.c,v 1.2 2018/03/07 11:45:06 fhajny Exp $
-
-Bring back support for NetBSD<8.
-
---- deps/uv/src/unix/netbsd.c.orig     2018-03-06 22:55:45.000000000 +0000
-+++ deps/uv/src/unix/netbsd.c
-@@ -40,6 +40,11 @@
- #include <unistd.h>
- #include <time.h>
- 
-+/* For __NetBSD_Version__ */
-+#ifdef __NetBSD__
-+# include <sys/param.h>
-+#endif
-+
- static uv_mutex_t process_title_mutex;
- static uv_once_t process_title_mutex_once = UV_ONCE_INIT;
- static char *process_title;
-@@ -87,7 +92,11 @@ int uv_exepath(char* buffer, size_t* siz
-   mib[0] = CTL_KERN;
-   mib[1] = KERN_PROC_ARGS;
-   mib[2] = -1;
-+#if __NetBSD_Version__ >= 799000000
-   mib[3] = KERN_PROC_PATHNAME;
-+#else
-+  mib[3] = KERN_PROC_ARGV;
-+#endif
-   int_size = ARRAY_SIZE(int_buf);
- 
-   if (sysctl(mib, 4, int_buf, &int_size, NULL, 0))



Home | Main Index | Thread Index | Old Index