Created attachment 260308 [details] git -C /usr/ports diff math/lean4 the most recent port update to lean4 wouldnt build on 13.5 due to lack of clearenv() i believe this patch provides a suitable stub