From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E488C138335 for ; Fri, 24 Aug 2018 05:26:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0247CE08CD; Fri, 24 Aug 2018 05:26:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCDD8E08CD for ; Fri, 24 Aug 2018 05:26:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1614D335CA3 for ; Fri, 24 Aug 2018 05:26:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A0602A9 for ; Fri, 24 Aug 2018 05:26:06 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1535088253.a9a025171a9a42ae039bdc3ae3dd49f988b55193.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/emacs/emacs-24.5-r6.ebuild app-editors/emacs/emacs-25.3-r5.ebuild app-editors/emacs/emacs-26.1-r2.ebuild X-VCS-Directories: app-editors/emacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a9a025171a9a42ae039bdc3ae3dd49f988b55193 X-VCS-Branch: master Date: Fri, 24 Aug 2018 05:26:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 29b71a2c-1dea-4dbe-94d9-30be90ccd698 X-Archives-Hash: 1a043a0d4009abf6249f761e8a981ff8 commit: a9a025171a9a42ae039bdc3ae3dd49f988b55193 Author: Ulrich Müller gentoo org> AuthorDate: Fri Aug 24 05:24:13 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Aug 24 05:24:13 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9a02517 app-editors/emacs: Output warning message for USE="-gtk gtk2". Package-Manager: Portage-2.3.47, Repoman-2.3.10 app-editors/emacs/emacs-24.5-r6.ebuild | 2 ++ app-editors/emacs/emacs-25.3-r5.ebuild | 2 ++ app-editors/emacs/emacs-26.1-r2.ebuild | 8 ++++++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app-editors/emacs/emacs-24.5-r6.ebuild b/app-editors/emacs/emacs-24.5-r6.ebuild index 3babea9437c..3f797276d19 100644 --- a/app-editors/emacs/emacs-24.5-r6.ebuild +++ b/app-editors/emacs/emacs-24.5-r6.ebuild @@ -194,6 +194,8 @@ src_configure() { einfo "Configuring to build with no toolkit" myconf+=" --with-x-toolkit=no" fi + ! use gtk && use gtk2 && ewarn \ + "USE flag \"gtk2\" has no effect if \"gtk\" is not set." elif use aqua; then einfo "Configuring to build with Nextstep (Cocoa) support" myconf+=" --with-ns --disable-ns-self-contained" diff --git a/app-editors/emacs/emacs-25.3-r5.ebuild b/app-editors/emacs/emacs-25.3-r5.ebuild index ad5be25089c..4860c32fe92 100644 --- a/app-editors/emacs/emacs-25.3-r5.ebuild +++ b/app-editors/emacs/emacs-25.3-r5.ebuild @@ -201,6 +201,8 @@ src_configure() { einfo "Configuring to build with no toolkit" myconf+=" --with-x-toolkit=no" fi + ! use gtk && use gtk2 && ewarn \ + "USE flag \"gtk2\" has no effect if \"gtk\" is not set." elif use aqua; then einfo "Configuring to build with Nextstep (Cocoa) support" myconf+=" --with-ns --disable-ns-self-contained" diff --git a/app-editors/emacs/emacs-26.1-r2.ebuild b/app-editors/emacs/emacs-26.1-r2.ebuild index 123cb6e277c..d2dd29112e5 100644 --- a/app-editors/emacs/emacs-26.1-r2.ebuild +++ b/app-editors/emacs/emacs-26.1-r2.ebuild @@ -214,8 +214,12 @@ src_configure() { einfo "Configuring to build with no toolkit" myconf+=" --with-x-toolkit=no" fi - ! use gtk && use xwidgets && ewarn \ - "USE flag \"xwidgets\" has no effect if \"gtk\" is not set." + if ! use gtk; then + use gtk2 && ewarn \ + "USE flag \"gtk2\" has no effect if \"gtk\" is not set." + use xwidgets && ewarn \ + "USE flag \"xwidgets\" has no effect if \"gtk\" is not set." + fi elif use aqua; then einfo "Configuring to build with Nextstep (Cocoa) support" myconf+=" --with-ns --disable-ns-self-contained"