[88007] trunk/dports/devel/nodejs

ciserlohn at macports.org ciserlohn at macports.org
Thu Dec 15 15:20:49 PST 2011


Revision: 88007
          http://trac.macports.org/changeset/88007
Author:   ciserlohn at macports.org
Date:     2011-12-15 15:20:49 -0800 (Thu, 15 Dec 2011)
Log Message:
-----------
nodejs: update to version 0.6.6

Modified Paths:
--------------
    trunk/dports/devel/nodejs/Portfile
    trunk/dports/devel/nodejs/files/patch-Makefile-python.diff

Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile	2011-12-15 21:32:05 UTC (rev 88006)
+++ trunk/dports/devel/nodejs/Portfile	2011-12-15 23:20:49 UTC (rev 88007)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 
 name                    nodejs
-version                 0.6.5
+version                 0.6.6
 categories              devel net
 platforms               darwin
 license                 {MIT BSD}
@@ -22,8 +22,8 @@
 homepage                http://nodejs.org/
 master_sites            ${homepage}dist/v${version}
 
-checksums               rmd160  18e745e3636a568f53436437653008310cbe2104 \
-                        sha256  72364d240fb61e678897c099df6f2913857c5931aa9b1f44e73e432d4629ca2f
+checksums               rmd160  e17ff8daae7ed7ad945092a71e8e0678e5c4ba60 \
+                        sha256  7abea518b1b63fd669c9ca436bf33d0bb0b09b252f06d700ccbd290fe5222102
 
 distname                node-v${version}
 
@@ -39,7 +39,7 @@
     return $files
 }
 
-set py27_bin ${prefix}/bin/python2.7
+configure.python ${prefix}/bin/python2.7
 
 post-patch {
     foreach f [concat ${worksrcpath}/wscript \
@@ -50,7 +50,7 @@
                    ${worksrcpath}/tools/gyp_node \
                    ${worksrcpath}/deps/uv/gyp_uv \
                    [rec_glob ${worksrcpath} *.py]] {
-        reinplace "s|/usr/bin/env python|${py27_bin}|" ${f}
+        reinplace "s|/usr/bin/env python|${configure.python}|" ${f}
     }
 }
 
@@ -82,7 +82,7 @@
                     CPP=${configure.cpp} \
                     CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
                     LDFLAGS="${configure.ldflags} ${configure.ld_archflags}" \
-                    PYTHON=${py27_bin}
+                    PYTHON=${configure.python}
 
 post-destroot {
     set docdir ${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/devel/nodejs/files/patch-Makefile-python.diff
===================================================================
--- trunk/dports/devel/nodejs/files/patch-Makefile-python.diff	2011-12-15 21:32:05 UTC (rev 88006)
+++ trunk/dports/devel/nodejs/files/patch-Makefile-python.diff	2011-12-15 23:20:49 UTC (rev 88007)
@@ -1,5 +1,5 @@
---- Makefile.orig	2011-11-05 20:25:23.000000000 +0100
-+++ Makefile	2011-11-05 20:26:11.000000000 +0100
+--- Makefile.orig	2011-12-15 23:59:24.000000000 +0100
++++ Makefile	2011-12-16 00:00:22.000000000 +0100
 @@ -1,4 +1,4 @@
 -WAF=python tools/waf-light
 +WAF=$(PYTHON) tools/waf-light
@@ -59,7 +59,16 @@
  
  
  out/Release/node: all
-@@ -149,10 +149,10 @@
+@@ -140,7 +140,7 @@
+ check:
+ 	@tools/waf-light check
+ 
+-VERSION=v$(shell python tools/getnodeversion.py)
++VERSION=v$(shell $(PYTHON) tools/getnodeversion.py)
+ TARNAME=node-$(VERSION)
+ TARBALL=$(TARNAME).tar.gz
+ PKG=out/$(TARNAME).pkg
+@@ -188,10 +188,10 @@
  	./node benchmark/idle_clients.js &
  
  jslint:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111215/95481e01/attachment.html>


More information about the macports-changes mailing list