From ad18048035deaba834a56853d7ea119279c45b0e Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 2 Nov 2012 06:57:06 +0000 Subject: Upgrade to 0.9.3. PR: ports/171729 Submitted by: maintainer Feature safe: yes --- www/node-devel/Makefile | 5 ++--- www/node-devel/distinfo | 4 ++-- www/node-devel/files/patch-gyp-common.py | 6 +++--- www/node-devel/files/patch-tools-install.py | 21 ++++++--------------- www/node-devel/files/patch-uv-bsd.h | 11 ----------- www/node-devel/pkg-plist | 21 --------------------- 6 files changed, 13 insertions(+), 55 deletions(-) delete mode 100644 www/node-devel/files/patch-uv-bsd.h (limited to 'www/node-devel') diff --git a/www/node-devel/Makefile b/www/node-devel/Makefile index 8021dcb24ac8..190966a01ef9 100644 --- a/www/node-devel/Makefile +++ b/www/node-devel/Makefile @@ -3,7 +3,7 @@ # PORTNAME= node -PORTVERSION= 0.9.1 +PORTVERSION= 0.9.3 CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ PKGNAMESUFFIX= -devel @@ -19,14 +19,13 @@ MAN1= node.1 HAS_CONFIGURE= yes USE_LDCONFIG= yes USE_PYTHON= 2.7 -USE_OPENSSL= yes USE_GMAKE= yes CONFLICTS= node-0.[0-9]* ONLY_FOR_ARCHS= i386 amd64 MAKE_JOBS_SAFE= yes -CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-openssl --shared-zlib +CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-zlib PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' diff --git a/www/node-devel/distinfo b/www/node-devel/distinfo index 3c567d1471ea..74b7efd395a3 100644 --- a/www/node-devel/distinfo +++ b/www/node-devel/distinfo @@ -1,2 +1,2 @@ -SHA256 (node-v0.9.1.tar.gz) = 12bc0deb1a0c3fdcd5c54ffd241c1e291d372620944c3f97388d38f460f222b9 -SIZE (node-v0.9.1.tar.gz) = 11451518 +SHA256 (node-v0.9.3.tar.gz) = 7e1750cd47d7b8c13c7cf12457b6a528fa2abf8a10b7c9a35c13ed47cebaab41 +SIZE (node-v0.9.3.tar.gz) = 12481901 diff --git a/www/node-devel/files/patch-gyp-common.py b/www/node-devel/files/patch-gyp-common.py index f5664c7085b8..eda83ddc8c60 100644 --- a/www/node-devel/files/patch-gyp-common.py +++ b/www/node-devel/files/patch-gyp-common.py @@ -1,12 +1,12 @@ ---- tools/gyp/pylib/gyp/common.py.orig 2012-09-03 09:45:35.000000000 +0800 -+++ tools/gyp/pylib/gyp/common.py 2012-09-03 09:46:36.000000000 +0800 +--- tools/gyp/pylib/gyp/common.py.orig 2012-09-18 08:54:59.000000000 +0800 ++++ tools/gyp/pylib/gyp/common.py 2012-09-18 12:14:47.000000000 +0800 @@ -366,7 +366,10 @@ 'freebsd8': 'freebsd', 'freebsd9': 'freebsd', } - flavor = flavors.get(sys.platform, 'linux') + if 'freebsd' in sys.platform: -+ flavor = 'freebsd' ++ flavor = 'freebsd' + else: + flavor = flavors.get(sys.platform, 'linux') return params.get('flavor', flavor) diff --git a/www/node-devel/files/patch-tools-install.py b/www/node-devel/files/patch-tools-install.py index 41a9a3d40e1f..e11e4808ba7f 100644 --- a/www/node-devel/files/patch-tools-install.py +++ b/www/node-devel/files/patch-tools-install.py @@ -1,20 +1,11 @@ ---- tools/install.py.orig 2012-08-29 04:51:31.000000000 +0800 -+++ tools/install.py 2012-09-04 13:26:40.000000000 +0800 -@@ -135,7 +135,7 @@ - 'deps/uv/include/uv-private/uv-unix.h', - 'deps/uv/include/uv-private/uv-win.h'], - 'include/node/uv-private/') +--- tools/install.py.orig 2012-09-18 08:54:59.000000000 +0800 ++++ tools/install.py 2012-09-18 12:17:19.000000000 +0800 +@@ -114,7 +114,7 @@ + assert(0) # unhandled action type + + def files(action): - action(['doc/node.1'], 'share/man/man1/') + action(['doc/node.1'], 'man/man1/') action(['out/Release/node'], 'bin/node') # install unconditionally, checking if the platform supports dtrace doesn't -@@ -143,7 +143,7 @@ - # with dtrace support now (oracle's "unbreakable" linux) - action(['src/node.d'], 'lib/dtrace/') - -- if variables.get('node_install_npm'): npm_files(action) -+ if 'true' == variables.get('node_install_npm'): npm_files(action) - - def run(args): - global dst_dir, node_prefix, target_defaults, variables diff --git a/www/node-devel/files/patch-uv-bsd.h b/www/node-devel/files/patch-uv-bsd.h deleted file mode 100644 index 81a4b0db9707..000000000000 --- a/www/node-devel/files/patch-uv-bsd.h +++ /dev/null @@ -1,11 +0,0 @@ ---- deps/uv/include/uv-private/uv-bsd.h.orig 2012-09-03 09:42:53.000000000 +0800 -+++ deps/uv/include/uv-private/uv-bsd.h 2012-09-03 09:43:18.000000000 +0800 -@@ -23,7 +23,7 @@ - #define UV_BSD_H - - #define UV_PLATFORM_FS_EVENT_FIELDS \ -- uv__io_t event_watcher; \ -+ ev_io event_watcher; \ - int fflags; \ - int fd; \ - diff --git a/www/node-devel/pkg-plist b/www/node-devel/pkg-plist index bff53f897866..6108ad1fcba0 100644 --- a/www/node-devel/pkg-plist +++ b/www/node-devel/pkg-plist @@ -1,26 +1,5 @@ bin/node -include/node/eio-emul.h -include/node/ev-emul.h -include/node/node.h -include/node/node_buffer.h -include/node/node_object_wrap.h -include/node/node_version.h -include/node/uv-private/eio.h -include/node/uv-private/ev.h -include/node/uv-private/ngx-queue.h -include/node/uv-private/tree.h -include/node/uv-private/uv-unix.h -include/node/uv-private/uv-win.h -include/node/uv.h -include/node/v8-debug.h -include/node/v8-preparser.h -include/node/v8-profiler.h -include/node/v8-testing.h -include/node/v8.h -include/node/v8stdint.h lib/dtrace/node.d lib/node_modules/.keepme @dirrm lib/node_modules @dirrm lib/dtrace -@dirrm include/node/uv-private -@dirrm include/node -- cgit v1.2.3