commit:     e6710a14b9aa2ea8a7b31ce22ac8a048bb165322
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 17:57:57 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 17:58:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6710a14

app-editors/emacs: Fix pgtk conditional

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

 app-editors/emacs/emacs-29.0.9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/emacs/emacs-29.0.9999.ebuild 
b/app-editors/emacs/emacs-29.0.9999.ebuild
index 69582b7f2ff4..52f966bf8a7d 100644
--- a/app-editors/emacs/emacs-29.0.9999.ebuild
+++ b/app-editors/emacs/emacs-29.0.9999.ebuild
@@ -228,7 +228,7 @@ src_configure() {
                einfo "Configuring to build with Nextstep (Macintosh Cocoa) 
support"
                myconf+=" --with-ns --disable-ns-self-contained"
                myconf+=" --without-x --without-pgtk"
-       elif use gtk || ! use X; then
+       elif use gtk && ! use X; then
                einfo "Configuring to build with pure GTK (without X11) support"
                myconf+=" --with-pgtk --without-x --without-ns"
                myconf+=" $(use_with gconf)"

Reply via email to