reported in #30592 comment:33
... by extending .homebrew-build-env, as a hotfix.
CC: @dimpase @kiwifb @vbraun
Component: porting
Author: Matthias Koeppe
Branch/Commit: aee855a
Reviewer: François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/33191