The single quote in the awk script at the top of /etc/init.d/xdm is not closed, causing depscan.sh to fail. This is in the file installed by xfree-4.2.0-r2
Fixed in latest version of the ebuilds.