I was able to get libsoup 2.2.7 to build when I did a port upgrade on pkgconfig. I guess there is a problem with libsoup's dependencies that something else that pkgconfig depended upon upgraded. Wish I could be more specific.