...which makes it kind of hard to debug ;) There's already a Makefile sed in there, so maybe add s:^\(LDFLAGS=\).*$:\1: (or \1${LDFLAGS} if you want to respect LDFLAGS, of course). This affects both versions.
updated to respect $CC and $LDFLAGS
SpanKY, 1.99,1-r1 reverts your changes...
osx (kito): if you're going to screw with games ebuilds, dont break them please, it makes us very angry fixed -r1 too