Ticket #57927: waf.diff
File waf.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 4 years ago) |
---|
-
_resources/port1.0/group/waf-1.0.tcl
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 3 # If you need to change the version of python that waf uses, override this. 4 options waf.python_branch 5 default waf.python_branch 2.7 6 7 # You should not need to override this but you can use it if you need to 8 # declare dependencies on python modules. 9 options waf.python_version 10 default waf.python_version {[string map {. {}} ${waf.python_branch}]} 11 12 # You should not need to override this but you can use it if you need to 13 # run the same python executable that waf uses. 3 14 options waf.python 4 default waf.python {${prefix}/bin/python 2.7}15 default waf.python {${prefix}/bin/python${waf.python_branch}} 5 16 6 depends_build-append port:python27 7 8 configure.cmd ${waf.python} ./waf configure 17 default configure.cmd {${waf.python} ./waf configure} 9 18 configure.post_args-append --nocache 10 19 11 20 configure.universal_args-delete --disable-dependency-tracking 12 21 13 build.cmd ${waf.python} ./waf 22 default build.cmd {${waf.python} ./waf} 14 23 build.target build 15 24 build.post_args-append --verbose 16 25 17 26 destroot.destdir --destdir=${destroot} 27 28 port::register_callback waf::add_dependencies 29 30 namespace eval waf {} 31 32 proc waf::add_dependencies {} { 33 depends_build-append \ 34 port:python[option waf.python_version] 35 }