Subject: [PATCH 1/2] gnu: bitlbee-discord: Fix build failure
From: Adrian Fullmer <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sat, 14 Mar 2020 18:57:50 +0000 (UTC)
List-Id: <debbugs-submit.debbugs.gnu.org>

The old package definition fails to build due to attempting to create a help file in the bitlbee store location. This patch corrects the data directory in which the help file is placed to be in the bitlbee-discord output.

From f031b1999c22294455c6ca55dc76d34e016ffdb4 Mon Sep 17 00:00:00 2001
From: Adrian Fullmer <[email-masked]>
Date: Sat, 14 Mar 2020 11:59:58 -0500
Subject: [PATCH 1/2] gnu: bitlbee-discord: Fix build failure

---
 gnu/packages/messaging.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index f8b743f766..72c505c6d9 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -248,6 +248,9 @@ identi.ca and status.net).")
          (replace 'configure
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (invoke "./configure"
+                     (string-append "--with-bdatadir="
+                                    (assoc-ref outputs "out")
+                                    "/share/bitlbee/")
                      (string-append "--with-plugindir="
                                     (assoc-ref outputs "out")
                                     "/lib/bitlbee/")))))))
-- 
2.25.1