Subject: bug#54576: closed (Re: bug#54576: [PATCH] gnu: dnsmasq: Fix cross-compilation.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 29 Mar 2022 08:54:02 +0000

Your bug report

#54576: [PATCH] gnu: dnsmasq: Fix cross-compilation.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
54576: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54576
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#54576: [PATCH] gnu: dnsmasq: Fix cross-compilation.
From: Mathieu Othacehe <[email-masked]>
To: Brian Kubisiak <[email-masked]>
Cc: [email-masked]
Date: Tue, 29 Mar 2022 10:53:28 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> * gnu/packages/dns.scm (dnsmasq)[arguments]: Use PKG-CONFIG-FOR-TARGET.

Pushed, thanks!

Mathieu

Subject: [PATCH] gnu: dnsmasq: Fix cross-compilation.
From: Brian Kubisiak <[email-masked]>
To: [email-masked]
Date: Fri, 25 Mar 2022 19:01:25 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/dns.scm (dnsmasq)[arguments]: Use PKG-CONFIG-FOR-TARGET.
---
 gnu/packages/dns.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index afea1aaf86..dacada7897 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -309,6 +309,7 @@ (define-public dnsmasq
        (modify-phases %standard-phases (delete 'configure))
        #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
                           (string-append "CC=" ,(cc-for-target))
+                          (string-append "PKG_CONFIG=" ,(pkg-config-for-target))
                           "COPTS=\"-DHAVE_DBUS\"")
        #:tests? #f))                    ; no ‘check’ target
     (home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html")
-- 
2.34.0