guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: gnu: dtc: Use pkg-config-for-target.


From: guix-commits
Subject: 09/10: gnu: dtc: Use pkg-config-for-target.
Date: Mon, 7 Mar 2022 15:56:26 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 027ce78933530020a2b1010a1ae9c73009301bc1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 7 22:46:01 2022 +0200

    gnu: dtc: Use pkg-config-for-target.
    
    * gnu/packages/bootloaders.scm (dtc)[arguments]: Adjust custom
    'patch-pkg-config phase to use pkg-config-for-target.
---
 gnu/packages/bootloaders.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index e5504b25eb..7987641031 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -483,10 +483,7 @@ menu to select one of the installed operating systems.")
              (substitute* '("Makefile"
                             "tests/run_tests.sh")
                (("pkg-config")
-                (or (which "pkg-config")
-                    (string-append ,(%current-target-system)
-                                   "-pkg-config"))))
-             #t))
+                ,(pkg-config-for-target)))))
          (delete 'configure))))         ; no configure script
     (home-page "https://www.devicetree.org";)
     (synopsis "Compiles device tree source files")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]