commit:     22b6db86586cbdb4662dbe5f61d85b6610104025
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 11 08:07:46 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Oct 11 08:07:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22b6db86

games.eclass: use group 0 to fix building on BSD systems #562262

 eclass/games.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/games.eclass b/eclass/games.eclass
index 03421b3..7d231e1 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -247,14 +247,14 @@ prepgamesdirs() {
                        find "${D}/${dir}" -type f -print0 | xargs -0 chmod 
$mode
 
                        # common trees should not be games owned #264872 #537580
-                       fowners root:root "${dir}"
+                       fowners root:0 "${dir}"
                        fperms 755 "${dir}"
                        if [[ ${dir} == "${GAMES_PREFIX}" \
                                                || ${dir} == 
"${GAMES_PREFIX_OPT}" ]] ; then
                                for d in $(get_libdir) bin ; do
                                        # check if dirs exist to avoid 
"nonfatal" option
                                        if [[ -e ${D}/${dir}/${d} ]] ; then
-                                               fowners root:root "${dir}/${d}"
+                                               fowners root:0 "${dir}/${d}"
                                                fperms 755 "${dir}/${d}"
                                        fi
                                done

Reply via email to