Changeset 82093
- Timestamp:
- 08/07/11 15:50:11 (4 years ago)
- Location:
- trunk/dports/devel
- Files:
-
- 4 edited
-
nodejs-devel/Portfile (modified) (2 diffs)
-
nodejs-devel/files/patch-Makefile-python.diff (modified) (3 diffs)
-
nodejs/Portfile (modified) (2 diffs)
-
nodejs/files/patch-Makefile-python.diff (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/nodejs-devel/Portfile
r81593 r82093 30 30 31 31 patchfiles patch-Makefile-python.diff 32 33 proc rec_glob {basedir pattern} { 34 set files [glob -directory $basedir -nocomplain -type f $pattern] 35 foreach dir [glob -directory $basedir -nocomplain -type d *] { 36 eval lappend files [rec_glob $dir $pattern] 37 } 38 return $files 39 } 40 41 set py27_bin ${prefix}/bin/python2.7 42 43 post-patch { 44 foreach f [concat ${worksrcpath}/tools/node-waf ${worksrcpath}/tools/waf-light ${worksrcpath}/wscript [rec_glob ${worksrcpath} *.py]] { 45 reinplace "s|/usr/bin/env python|${py27_bin}|" ${f} 46 } 47 } 32 48 33 49 pre-configure { … … 76 92 CFLAGS="${configure.cflags} ${configure.cc_archflags}" \ 77 93 LDFLAGS="${configure.ldflags} ${configure.ld_archflags}" \ 78 PYTHON=${p refix}/bin/python2.794 PYTHON=${py27_bin} 79 95 80 96 livecheck.type regex -
trunk/dports/devel/nodejs-devel/files/patch-Makefile-python.diff
r81593 r82093 1 --- Makefile.orig 2011-08-02 18:08:14.000000000 +02002 +++ Makefile 2011-08-0 2 18:08:26.000000000 +02003 @@ -1,4 +1, 5@@1 --- Makefile.orig 2011-08-02 09:17:41.000000000 +0200 2 +++ Makefile 2011-08-08 00:17:31.000000000 +0200 3 @@ -1,4 +1,4 @@ 4 4 -WAF=python tools/waf-light 5 +PYTHON=python6 5 +WAF=$(PYTHON) tools/waf-light 7 6 8 7 web_root = ryan@nodejs.org:~/web/nodejs.org/ 9 8 10 @@ -33,40 +3 4,40 @@9 @@ -33,40 +33,40 @@ 11 10 @$(WAF) uninstall 12 11 … … 61 60 UVTEST += simple/test-assert 62 61 UVTEST += simple/test-buffer 63 @@ -251,10 +25 2,10 @@62 @@ -251,10 +251,10 @@ 64 63 65 64 … … 74 73 75 74 build/default/node: all 76 @@ -338,10 +33 9,10 @@75 @@ -338,10 +338,10 @@ 77 76 ./node benchmark/idle_clients.js & 78 77 -
trunk/dports/devel/nodejs/Portfile
r81112 r82093 31 31 patchfiles patch-Makefile-python.diff \ 32 32 patch-platform.diff 33 34 proc rec_glob {basedir pattern} { 35 set files [glob -directory $basedir -nocomplain -type f $pattern] 36 foreach dir [glob -directory $basedir -nocomplain -type d *] { 37 eval lappend files [rec_glob $dir $pattern] 38 } 39 return $files 40 } 41 42 set py27_bin ${prefix}/bin/python2.7 43 44 post-patch { 45 foreach f [concat ${worksrcpath}/tools/node-waf ${worksrcpath}/tools/waf-light ${worksrcpath}/wscript [rec_glob ${worksrcpath} *.py]] { 46 reinplace "s|/usr/bin/env python|${py27_bin}|" ${f} 47 } 48 } 33 49 34 50 pre-configure { … … 77 93 CFLAGS="${configure.cflags} ${configure.cc_archflags}" \ 78 94 LDFLAGS="${configure.ldflags} ${configure.ld_archflags}" \ 79 PYTHON=${p refix}/bin/python2.795 PYTHON=${py27_bin} 80 96 81 97 livecheck.type regex -
trunk/dports/devel/nodejs/files/patch-Makefile-python.diff
r77584 r82093 1 --- Makefile.orig 2011-0 3-18 22:25:20.000000000 +01002 +++ Makefile 2011-0 4-05 09:51:09.000000000 +02003 @@ -1,4 +1, 5@@1 --- Makefile.orig 2011-08-08 00:05:27.000000000 +0200 2 +++ Makefile 2011-08-08 00:05:41.000000000 +0200 3 @@ -1,4 +1,4 @@ 4 4 -WAF=python tools/waf-light 5 +PYTHON=python6 5 +WAF=$(PYTHON) tools/waf-light 7 6 8 7 web_root = ryan@nodejs.org:~/web/nodejs.org/ 9 8 10 @@ -23,34 +2 4,34 @@9 @@ -23,34 +23,34 @@ 11 10 @$(WAF) uninstall 12 11 … … 53 52 build/default/node: all 54 53 54 @@ -132,10 +132,10 @@ 55 ./node benchmark/idle_clients.js & 56 57 jslint: 58 - PYTHONPATH=tools/closure_linter/ python tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/ 59 + PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/ 60 61 cpplint: 62 - @python tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c) 63 + @$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c) 64 65 lint: jslint cpplint 66
Note: See TracChangeset
for help on using the changeset viewer.

