diff options
author | adam <adam@pkgsrc.org> | 2020-01-24 18:58:12 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-01-24 18:58:12 +0000 |
commit | 35a324daf9c3fbc2eb4dd1b331457e0b74157509 (patch) | |
tree | 5608a710a7f678d8edc29ed127224cedf0ca15cc /lang/nodejs8 | |
parent | 318d7a85070dda8d60f9547f696a31bf8b8a5151 (diff) | |
download | pkgsrc-35a324daf9c3fbc2eb4dd1b331457e0b74157509.tar.gz |
nodejs8: cleanup and adopt to the small changes in lang/nodejs/Makefile.common
Diffstat (limited to 'lang/nodejs8')
-rw-r--r-- | lang/nodejs8/Makefile | 9 | ||||
-rw-r--r-- | lang/nodejs8/distinfo | 3 | ||||
-rw-r--r-- | lang/nodejs8/patches/patch-deps_uv_src_unix_netbsd.c | 30 |
3 files changed, 6 insertions, 36 deletions
diff --git a/lang/nodejs8/Makefile b/lang/nodejs8/Makefile index 4933c8be5ed..d16b356898b 100644 --- a/lang/nodejs8/Makefile +++ b/lang/nodejs8/Makefile @@ -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 --git a/lang/nodejs8/distinfo b/lang/nodejs8/distinfo index d15ca8ae273..ead1f696bbd 100644 --- a/lang/nodejs8/distinfo +++ b/lang/nodejs8/distinfo @@ -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 @@ Size (node-v8.17.0.tar.gz) = 32263914 bytes 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 --git a/lang/nodejs8/patches/patch-deps_uv_src_unix_netbsd.c b/lang/nodejs8/patches/patch-deps_uv_src_unix_netbsd.c deleted file mode 100644 index 4bad8590624..00000000000 --- a/lang/nodejs8/patches/patch-deps_uv_src_unix_netbsd.c +++ /dev/null @@ -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)) |