basically looks like someone pasted a line by accident or some junk ... just `nano /usr/portage/app-admin/modlogan/modlogan-0.7.4-r1.ebuild` yourself to see the error (remove the line in the middle of nowhere that looks like this): http://www.kneschke.de/projekte/modlogan/download/gd-1.8.1.tar.gz"
fixed in portage. thanks for the catch.