diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2013-04-08 07:36:25 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2013-04-08 07:36:25 +0000 |
commit | 1fec2d0155bf2b4bc668ac9548d99bf4ef70495f (patch) | |
tree | 3f9ad8069b787d6f70a47d536a0326bf99279371 /eclass | |
parent | Bump (diff) | |
download | gentoo-2-1fec2d0155bf2b4bc668ac9548d99bf4ef70495f.tar.gz gentoo-2-1fec2d0155bf2b4bc668ac9548d99bf4ef70495f.tar.bz2 gentoo-2-1fec2d0155bf2b4bc668ac9548d99bf4ef70495f.zip |
Add support for verbose build in <EAPI5
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/games.eclass | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index a1380dfdbfab..6a92d6f4d316 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -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/eclass/games.eclass,v 1.153 2012/09/27 16:35:41 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.154 2013/04/08 07:36:25 mr_bones_ Exp $ # devlist: games@gentoo.org # @@ -39,12 +39,21 @@ games_get_libdir() { } egamesconf() { + # handle verbose build log pre-EAPI5 + local _gamesconf + if has "${EAPI:-0}" 0 1 2 3 4 ; then + if grep -q -s disable-silent-rules "${ECONF_SOURCE:-.}"/configure ; then + _gamesconf="--disable-silent-rules" + fi + fi + econf \ --prefix="${GAMES_PREFIX}" \ --libdir="$(games_get_libdir)" \ --datadir="${GAMES_DATADIR}" \ --sysconfdir="${GAMES_SYSCONFDIR}" \ --localstatedir="${GAMES_STATEDIR}" \ + ${_gamesconf} \ "$@" } @@ -123,6 +132,8 @@ gamesenv() { LDPATH="${libdirs:1}" PATH="${GAMES_BINDIR}" EOF + gamesowners "${ROOT}"/etc/env.d/${GAMES_ENVD} + gamesperms "${ROOT}"/etc/env.d/${GAMES_ENVD} } games_pkg_setup() { |