From: Rui Paulo <rpaulo@felyko.com>
Date: Sat, 5 Apr 2014 16:51:09 -0700
Subject: [PATCH] Add support for getting source version from git and mercurial
 FreeBSD repositories.