FreeBSD 13.0 was driving me mad full day! For some reason gmake included there was not setting python variable, so I spend a lot of time trying to imagine some workaround not breaking all other configs ..I think those patches works on both FreeBSD 12.3 And 13.0 and NetBSD 9.2 And Slackware 15.0 And termux ..uffff...