Ticket #65152: debug-output.diff

File debug-output.diff, 998 bytes (added by jmroot (Joshua Root), 3 years ago)

add debug output to python310 Portfile

  • lang/python310/Portfile

    diff --git a/lang/python310/Portfile b/lang/python310/Portfile
    index e1f770f3b89..2f8a9695d74 100644
    a b platform darwin { 
    150150        if {![file exists ${worksrcpath}/${python_for_build}]} {
    151151            set python_for_build python
    152152        }
     153        ui_msg "file exists ${worksrcpath}/python.exe = [file exists ${worksrcpath}/python.exe]"
     154        ui_msg "file isfile ${worksrcpath}/python.exe = [file isfile ${worksrcpath}/python.exe]"
     155        ui_msg "file executable ${worksrcpath}/python.exe = [file executable ${worksrcpath}/python.exe]"
     156        ui_msg "file type ${worksrcpath}/python.exe = [file type ${worksrcpath}/python.exe]"
    153157        system -W ${worksrcpath} "env DYLD_FRAMEWORK_PATH=. ./${python_for_build} -E -m compileall -d [shellescape ${framewdir}/lib/python${branch}] -o 0 -o 1 -o 2 [shellescape ${libdir}/_sysconfigdata__darwin_darwin.py]"
    154158
    155159        # Also make the sysconfig changes in the Makefile