app-editors/emacs: Fix pgtk conditional

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2022-01-15 18:57:57 +01:00
parent 4c5a73e6e5
commit e6710a14b9

View File

@@ -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)"