From: David Bremner Date: Sat, 28 Nov 2015 13:07:05 +0000 (+2000) Subject: Re: [PATCH] configure: Use $prefix for emacs, even when pkg-config is available. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=23a9de075118e5bee38ce45132c13534a8d49d94;p=notmuch-archives.git Re: [PATCH] configure: Use $prefix for emacs, even when pkg-config is available. --- diff --git a/63/28b646dd963ed5363c5d910b5e3984736a1972 b/63/28b646dd963ed5363c5d910b5e3984736a1972 new file mode 100644 index 000000000..7963daf10 --- /dev/null +++ b/63/28b646dd963ed5363c5d910b5e3984736a1972 @@ -0,0 +1,66 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 0E9186DE0C3A + for ; Sat, 28 Nov 2015 05:07:14 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.306 +X-Spam-Level: +X-Spam-Status: No, score=-0.306 tagged_above=-999 required=5 tests=[AWL=0.245, + RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id CvmABB8JPftM for ; + Sat, 28 Nov 2015 05:07:11 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 82DF06DE0B44 + for ; Sat, 28 Nov 2015 05:07:11 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1a2fDV-00009m-QB; Sat, 28 Nov 2015 08:07:05 -0500 +Received: (nullmailer pid 11835 invoked by uid 1000); + Sat, 28 Nov 2015 13:07:05 -0000 +From: David Bremner +To: Andrew Burgess , notmuch@notmuchmail.org +Subject: Re: [PATCH] configure: Use $prefix for emacs, + even when pkg-config is available. +In-Reply-To: <1448472725-11684-1-git-send-email-andrew.burgess@embecosm.com> +References: <1448472725-11684-1-git-send-email-andrew.burgess@embecosm.com> +User-Agent: Notmuch/0.21+7~g55fb7da (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sat, 28 Nov 2015 09:07:05 -0400 +Message-ID: <87egfa2rye.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 28 Nov 2015 13:07:14 -0000 + +Andrew Burgess writes: + +> Assumming that you have pkg-config installed, emacs installed, and the +> command 'pkg-config emacs --variable sitepkglispdir' returns a +> directory that only root can write to, then the make install above +> should fail. + +I agree that the current behaviour is probably wrong. I'm not sure if we +need more control here as Tomi suggests. My biggest concern is that +emacs.pc seems to be rather specific to fedora / redhat packaging, which +makes it hard for me to evaluate both the current handling and this +patch. Do any any Fedora users have opinions on just dropping the +handling of "pkg-config emacs"? Or am I missing other places that +pkg-config file is available? + +d