When building SageMath on macOS from source, I think it is important to stress that
$ source .homebrew-build-env
must be done before
$ ./configure
(I have not found this in the instructions, and I have spent some time trying to guess why ./configure did not find system packages from Homebrew).
I could make a note myself, but I am not sure where and how.
Guillermo