diff options
-rw-r--r-- | games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild b/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild index 1abebf26d4c8..5fb8ca43b10f 100644 --- a/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild +++ b/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -39,6 +39,7 @@ Ddir=${D}/${dir} QA_PREBUILT=" ${dir:1}/et.x86 + ${dir:1}/etded.x86 ${dir:1}/etmain/cgame.mp.i386.so ${dir:1}/etmain/qagame.mp.i386.so ${dir:1}/etmain/ui.mp.i386.so @@ -57,6 +58,13 @@ src_unpack() { unpack ET-${PV}.zip } +src_prepare() { + if use dedicated ; then + sed 's@/sbin/runscript@/sbin/openrc-run@' \ + -i et-ded.rc || die + fi +} + src_install() { exeinto "${dir}" doexe openurl.sh |