source: trunk/dports/devel/nodejs/files/patch-Makefile-python.diff @ 82093

Last change on this file since 82093 was 82093, checked in by ciserlohn@…, 6 years ago

nodejs, nodejs-devel: actually use the python version declared in ${depends_build} (fixes #30617)

File size: 1.8 KB
  • Makefile

    old new  
    1 WAF=python tools/waf-light
     1WAF=$(PYTHON) tools/waf-light
    22
    33web_root = ryan@nodejs.org:~/web/nodejs.org/
    44
     
    2323        @$(WAF) uninstall
    2424
    2525test: all
    26         python tools/test.py --mode=release simple message
     26        $(PYTHON) tools/test.py --mode=release simple message
    2727
    2828test-valgrind: all
    29         python tools/test.py --mode=release --valgrind simple message
     29        $(PYTHON) tools/test.py --mode=release --valgrind simple message
    3030
    3131test-all: all
    32         python tools/test.py --mode=debug,release
     32        $(PYTHON) tools/test.py --mode=debug,release
    3333
    3434test-all-valgrind: all
    35         python tools/test.py --mode=debug,release --valgrind
     35        $(PYTHON) tools/test.py --mode=debug,release --valgrind
    3636
    3737test-release: all
    38         python tools/test.py --mode=release
     38        $(PYTHON) tools/test.py --mode=release
    3939
    4040test-debug: all
    41         python tools/test.py --mode=debug
     41        $(PYTHON) tools/test.py --mode=debug
    4242
    4343test-message: all
    44         python tools/test.py message
     44        $(PYTHON) tools/test.py message
    4545
    4646test-simple: all
    47         python tools/test.py simple
     47        $(PYTHON) tools/test.py simple
    4848
    4949test-pummel: all
    50         python tools/test.py pummel
     50        $(PYTHON) tools/test.py pummel
    5151
    5252test-internet: all
    53         python tools/test.py internet
     53        $(PYTHON) tools/test.py internet
    5454
    5555build/default/node: all
    5656
     
    132132        ./node benchmark/idle_clients.js &
    133133
    134134jslint:
    135         PYTHONPATH=tools/closure_linter/ python tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/
     135        PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/
    136136
    137137cpplint:
    138         @python tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)
     138        @$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)
    139139
    140140lint: jslint cpplint
    141141
Note: See TracBrowser for help on using the repository browser.