diff options
-rw-r--r-- | games-strategy/openra/ChangeLog | 5 | ||||
-rw-r--r-- | games-strategy/openra/openra-20120504.ebuild | 14 |
2 files changed, 11 insertions, 8 deletions
diff --git a/games-strategy/openra/ChangeLog b/games-strategy/openra/ChangeLog index b9ec771b1deb..ffbc83c7f594 100644 --- a/games-strategy/openra/ChangeLog +++ b/games-strategy/openra/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/openra # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.3 2012/05/04 17:31:14 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.4 2012/05/14 11:49:35 hasufell Exp $ + + 14 May 2012; Julian Ospald <hasufell@gentoo.org> openra-20120504.ebuild: + improve elog 04 May 2012; Julian Ospald <hasufell@gentoo.org> openra-20120504.ebuild: add missing '|| die' to emake diff --git a/games-strategy/openra/openra-20120504.ebuild b/games-strategy/openra/openra-20120504.ebuild index 2e753aa02adc..8ca9752f0694 100644 --- a/games-strategy/openra/openra-20120504.ebuild +++ b/games-strategy/openra/openra-20120504.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/openra-20120504.ebuild,v 1.2 2012/05/04 17:31:14 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/openra-20120504.ebuild,v 1.3 2012/05/14 11:49:35 hasufell Exp $ EAPI=3 @@ -69,12 +69,12 @@ pkg_postinst() { games_pkg_postinst gnome2_icon_cache_update - if use cg ; then - elog "If you have problems starting the game consider switching" - elog "back to Graphics.Renderer=Gl in openra*.desktop or manually" - elog "run:" - elog "${PN} Game.Mods=\$mod Graphics.Renderer=Gl" - fi + local myrenderer=$(usex cg Gl Cg) + + elog "If you have problems starting the game consider switching" + elog "to Graphics.Renderer=${myrenderer} in openra*.desktop or manually" + elog "run:" + elog "${PN} Game.Mods=\$mod Graphics.Renderer=${myrenderer}" } pkg_postrm() { |