Problem
The current comment in phoenix.pro says:
# Disable this if you have (and want) libgit2 dynamically
LIBGIT_STATIC = true
It's ambiguous and some folks are going to comment this out instead of setting it to false, which leads to the qmake error:
libgit2detect.pri:22: if(condition) requires one argument.
Proposed Solution
To save other folks some time, let's just rephrase it to:
# Set this to false if you have (and want) libgit2 dynamically
LIBGIT_STATIC = true