http://paludis.exherbo.org/trac/ticket/1352
I've committed the fix https://github.com/MageSlayer/paludis-gentoo-patches in 9a2ba6c.