.include "../../mk/bsd.prefs.mk" before setting version with ${DATE} because DATE wasn't defined when used.