diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-30 20:56:13 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-30 20:56:34 -0500 |
commit | c2967fbcee0a72cd2dadf07225d66a4a0d343123 (patch) | |
tree | 38118d3e253f6fe41aff0820753e3861bd8bd45e /games-fps/soldieroffortune-demo | |
parent | 59babf383b6776764c9a297bf8229f34c33ef72b (diff) | |
download | gentoo-c2967fbcee0a72cd2dadf07225d66a4a0d343123.tar.gz gentoo-c2967fbcee0a72cd2dadf07225d66a4a0d343123.tar.xz |
games-fps/soldieroffortune-demo: tidy; honor GAMES_BINDIR
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-fps/soldieroffortune-demo')
-rw-r--r-- | games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild index 162f12720b3..24db71027d1 100644 --- a/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild +++ b/games-fps/soldieroffortune-demo/soldieroffortune-demo-0.57-r1.ebuild @@ -35,7 +35,7 @@ src_install() { local demo="data/demos/sof_demo" local exe="sof-bin.x86" - loki_patch patch.dat data/ || die "loki patch failed" + loki_patch patch.dat data/ || die insinto "${dir}" exeinto "${dir}" @@ -48,9 +48,10 @@ src_install() { games_make_wrapper ${PN} "./${exe}" "${dir}" "${dir}" # fix buffer overflow - sed -i -e '/^exec/i \ + sed -i \ + -e '/^exec/i \ export MESA_EXTENSION_MAX_YEAR=2003 \ -export __GL_ExtensionStringVersion=17700' "${ED}"/usr/games/bin/${PN} +export __GL_ExtensionStringVersion=17700' "${ED}"${GAMES_BINDIR}/${PN} || die newicon "${demo}"/launch/box.png ${PN}.png make_desktop_entry ${PN} "Soldier of Fortune (Demo)" |