The change described by devel/pyrex/files/patch-Pyrex::Distutils::build_ext.py
is now included in the Pyrex distribution.
Over to maintainer
This is because the original pyrex update in ports/96098 was improperly
applied to the repo. Please apply the maintainer's update correctly.
Applied. Thank you!