commit:     d5f63a9dcfedab80f66ac30d839f1fd712417719
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 29 15:38:25 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 29 15:38:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=d5f63a9d

app-emacs/emacs-common-gentoo: Sync from gentoo repository.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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 8b159f4..a40b672 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-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs";
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="games X"
+IUSE="games gui"
 
 RDEPEND="games? ( acct-group/gamestat )"
 DEPEND="${RDEPEND}"
@@ -37,7 +37,7 @@ src_install() {
                fperms g+w /var/games/emacs
        fi
 
-       if use X; then
+       if use gui; then
                local i
                domenu emacs.desktop emacsclient.desktop
 
@@ -91,7 +91,7 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       if use X; then
+       if use gui; then
                xdg_desktop_database_update
                xdg_icon_cache_update
        fi
@@ -99,7 +99,7 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       if use X; then
+       if use gui; then
                xdg_desktop_database_update
                xdg_icon_cache_update
        fi

Reply via email to