From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 2/4] gnu: mu: Install emacs files in a proper place. Date: Sun, 8 May 2016 13:21:49 +0300 Message-ID: <1462702911-18777-3-git-send-email-alezost@gmail.com> References: <1462702911-18777-1-git-send-email-alezost@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azLqo-0006OA-K6 for guix-devel@gnu.org; Sun, 08 May 2016 06:22:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azLqi-0001ZZ-Az for guix-devel@gnu.org; Sun, 08 May 2016 06:22:13 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:33327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azLqi-0001ZT-2z for guix-devel@gnu.org; Sun, 08 May 2016 06:22:08 -0400 Received: by mail-lf0-x243.google.com with SMTP id j8so9209581lfd.0 for ; Sun, 08 May 2016 03:22:08 -0700 (PDT) Received: from localhost.localdomain ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id i3sm4210493lbd.44.2016.05.08.03.22.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 May 2016 03:22:06 -0700 (PDT) In-Reply-To: <1462702911-18777-1-git-send-email-alezost@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/mail.scm (mu)[arguments]: Add 'patch-configure.ac' phase to avoid adding "mu4e" sub-directory to 'lispdir' variable. --- gnu/packages/mail.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 59ddd41..48379f2 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -367,7 +367,16 @@ repository and Maildir/IMAP as LOCAL repository.") (arguments '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'autoreconf + (add-after 'unpack 'patch-configure.ac + ;; By default, elisp code goes to "share/emacs/site-lisp/mu4e", + ;; so our Emacs package can't find it. Setting "--with-lispdir" + ;; configure flag doesn't help because "mu4e" will be added to + ;; the lispdir anyway, so we have to modify "configure.ac". + (lambda _ + (substitute* "configure.ac" + (("^ +lispdir=.*") "")) + #t)) + (add-after 'patch-configure.ac 'autoreconf (lambda _ (zero? (system* "autoreconf" "-vi")))) (add-before 'check 'check-tz-setup -- 2.7.3