The current version of links in portage (2.0) doesn't find png (I would paste the output but I'm testdriving the new galeon2 browser and cut/past doesn't work - it's driving me nuts!). The new version 2.1pre2 doesn't fail on that anymore. Attached is the new ebuild. Note that I didn't applied any of the patches that were applied on the 2.0 as I assumed they have been sent upstream.
Created attachment 2080 [details] links-2.1_pre2.ebuild
added to portage. Hopefully this sorts that. :)