commit: 46ec0f08d13d35b673c5e8a0c9ae630fec0b4715 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Jan 21 21:26:54 2015 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Jan 21 21:26:54 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=46ec0f08
app-emacs/emacs-common-gentoo: Merge changes from Portage tree. Package-Manager: portage-2.2.15 --- app-emacs/emacs-common-gentoo/ChangeLog | 5 ++++- app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild | 11 +++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog index a748e8c..7e6ffe0 100644 --- a/app-emacs/emacs-common-gentoo/ChangeLog +++ b/app-emacs/emacs-common-gentoo/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for app-emacs/emacs-common-gentoo -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 21 Jan 2015; Ulrich Müller <u...@gentoo.org> emacs-common-gentoo-9999.ebuild: + Merge changes from Portage tree. + 19 Jan 2014; Ulrich Müller <u...@gentoo.org> emacs-common-gentoo-9999.ebuild: Switch from package.mask to empty KEYWORDS. diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild index 2671c28..820132b 100644 --- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild +++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -40,8 +40,8 @@ src_install() { doins site-start.el if use games; then - keepdir /var/lib/games/emacs - fowners "${GAMES_USER_DED:-games}" /var/lib/games/emacs + keepdir /var/games/emacs + fowners "${GAMES_USER_DED:-games}" /var/games/emacs fi if use X; then @@ -103,9 +103,12 @@ pkg_preinst() { if use games; then local f - for f in /var/lib/games/emacs/{snake,tetris}-scores; do + for f in /var/games/emacs/{snake,tetris}-scores; do if [[ -e ${EROOT}${f} ]]; then cp "${EROOT}${f}" "${ED}${f}" || die + elif [[ -e ${EROOT}/var/lib${f#/var} ]]; then + # backwards compatibility + cp "${EROOT}/var/lib${f#/var}" "${ED}${f}" || die fi touch "${ED}${f}" || die chown "${GAMES_USER_DED:-games}" "${ED}${f}" || die