> Not sure what pkg-config is doing, but it should not take minutes to > figure out what cflags protobuf needs?
It's a known issue. The reason is that abseil-cpp ships 100000 libraries with .pc files and parsing those takes an inordinate amount of time. Some improvements to the NIH pkg-config were made, but it's still not good enough. IMO it's just cutting it anymore. Unfortunately, attempts at using devel/pkgconf as a drop-in replacement failed so far (lang/rust doesn't build with it for one thing).