Macports with Xcode CLI tools only
You might be lucky and ports work :)

I think the latest I saw in the mailing lists is that most ports will work. The issue is for GUIS and there other issues.

Note that Xcode for OS X 10.10 does not supply gcc, it uses clang. However this works just as well if not better.