Created attachment 395756 [details, diff] Patch fixing sed and unpack errors. games-fps/soldieroffortune-1.06a-r1 fails to install due to an error in sed expression. There is an additional 's' right at the start of the expression: - sed -i -e 's/^exec/i \ + sed -i -e '/^exec/i \ Also there is an additional issue which is not fatal but ugly. The ebuild unpacks some game files to ${T} and later on it installs the whole content of ${T}. The problem is that this directory contains other temporary stuff not related to the game, like for example link to build log. I have modified the ebuild to unpack to a separate subdirectory of ${T} instead. Patch as well as full fixed ebuild for both issues is attached.
Created attachment 395758 [details] Ebuild which fixes sed and unpack errors.
in portage. thanks for the bug report and patch.