summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-12-29 12:51:04 +0000
committerUlrich Müller <ulm@gentoo.org>2010-12-29 12:51:04 +0000
commitc88606a7ed7fdd6c643e238096fda5dcd40e4e9c (patch)
treeeb92cfd51f6a59dd5bcd0ddb6f881337afbf7998 /app-editors
parentx86 stable per bug 341471 (diff)
downloadgentoo-2-c88606a7ed7fdd6c643e238096fda5dcd40e4e9c.tar.gz
gentoo-2-c88606a7ed7fdd6c643e238096fda5dcd40e4e9c.tar.bz2
gentoo-2-c88606a7ed7fdd6c643e238096fda5dcd40e4e9c.zip
Don't hardcode user for game score files.
(Portage version: 2.1.9.26/cvs/Linux x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs-vcs/ChangeLog5
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/app-editors/emacs-vcs/ChangeLog b/app-editors/emacs-vcs/ChangeLog
index c276528cbf9b..f2929fe14578 100644
--- a/app-editors/emacs-vcs/ChangeLog
+++ b/app-editors/emacs-vcs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/emacs-vcs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/ChangeLog,v 1.37 2010/12/10 19:43:12 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/ChangeLog,v 1.38 2010/12/29 12:51:04 ulm Exp $
+
+ 29 Dec 2010; Ulrich Mueller <ulm@gentoo.org> emacs-vcs-24.0.9999.ebuild:
+ Don't hardcode user for game score files.
*emacs-vcs-23.2.91 (10 Dec 2010)
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild
index 3c961b878301..01d866e90fa7 100644
--- a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.20 2010/11/07 22:19:08 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.21 2010/12/29 12:51:04 ulm Exp $
EAPI=2
@@ -206,6 +206,7 @@ src_configure() {
--program-suffix=-${EMACS_SUFFIX} \
--infodir=/usr/share/info/${EMACS_SUFFIX} \
--with-crt-dir=/usr/$(get_libdir) \
+ --with-gameuser="${GAMES_USER_DED:-games}" \
--without-compress-info \
${myconf} || die "econf emacs failed"
}
@@ -302,7 +303,7 @@ pkg_postinst() {
for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
[ -e "${f}" ] || touch "${f}"
done
- chown games:games "${ROOT}"/var/lib/games/emacs
+ chown "${GAMES_USER_DED:-games}" "${ROOT}"/var/lib/games/emacs
elisp-site-regen
eselect emacs update ifunset