commit: 7c3cde54f826bd48f8ed6c8ed83c651bf713ef0c Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Jan 23 06:14:11 2015 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Fri Jan 23 06:14:11 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=7c3cde54
Respect GAMES_GROUP variable. Package-Manager: portage-2.2.15 --- app-emacs/emacs-common-gentoo/ChangeLog | 4 ++++ app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog index 3d21394..01bddd6 100644 --- a/app-emacs/emacs-common-gentoo/ChangeLog +++ b/app-emacs/emacs-common-gentoo/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 23 Jan 2015; Ulrich Müller <u...@gentoo.org> + emacs-common-gentoo-9999-r1.ebuild: + Respect GAMES_GROUP variable. + *emacs-common-gentoo-9999-r1 (21 Jan 2015) 21 Jan 2015; Ulrich Müller <u...@gentoo.org> diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild index 04fb9b7..0710b8c 100644 --- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild +++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild @@ -22,7 +22,7 @@ PDEPEND="virtual/emacs" S="${WORKDIR}/${PN}" pkg_setup() { - use games && enewgroup games 35 + use games && enewgroup "${GAMES_GROUP:-games}" 35 } src_install() { @@ -36,7 +36,7 @@ src_install() { if use games; then keepdir /var/games/emacs - fowners root:games /var/games/emacs + fowners "root:${GAMES_GROUP:-games}" /var/games/emacs fperms g+w /var/games/emacs fi @@ -107,7 +107,7 @@ pkg_preinst() { cp "${EROOT}/var/lib${f#/var}" "${ED}${f}" || die fi touch "${ED}${f}" || die - chown root:games "${ED}${f}" || die + chown "root:${GAMES_GROUP:-games}" "${ED}${f}" || die chmod g+w "${ED}${f}" || die done fi