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 A11F81382C5 for ; Mon, 22 Mar 2021 09:00:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0447BE0837; Mon, 22 Mar 2021 09:00:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 E30AEE0837 for ; Mon, 22 Mar 2021 09:00:37 +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 DC4F2335C7D for ; Mon, 22 Mar 2021 09:00:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 652CB46C for ; Mon, 22 Mar 2021 09:00:35 +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: <1616403599.876e56bc80f959238cb9e88ca9599eb80586c6de.ulm@gentoo> Subject: [gentoo-commits] repo/proj/emacs:master commit in: eclass/ X-VCS-Repository: repo/proj/emacs X-VCS-Files: eclass/elisp-common.eclass X-VCS-Directories: eclass/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 876e56bc80f959238cb9e88ca9599eb80586c6de X-VCS-Branch: master Date: Mon, 22 Mar 2021 09:00:35 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2574de84-f671-4bbf-b27a-240e109099cc X-Archives-Hash: fe08b6d8a698b1df3111cfc3dd3ae21b commit: 876e56bc80f959238cb9e88ca9599eb80586c6de Author: Ulrich Müller gentoo org> AuthorDate: Mon Mar 22 08:59:59 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Mar 22 08:59:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=876e56bc elisp-common.eclass: Sync from gentoo repo Signed-off-by: Ulrich Müller gentoo.org> eclass/elisp-common.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index ac5fc20..832fc19 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -234,6 +234,8 @@ elisp-emacs-version() { rm -f "${T}"/emacs-version.el if [[ ${ret} -ne 0 ]]; then eerror "elisp-emacs-version: Failed to run ${EMACS}" + [[ $(realpath ${EMACS} 2>/dev/null) == */emacs* ]] \ + || eerror "This package needs GNU Emacs" return ${ret} fi if [[ -z ${version} ]]; then