guix-commits
[Top][All Lists]
Advanced

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

11/11: gnu: vcflib: Set absolute path to pkg-config.


From: guix-commits
Subject: 11/11: gnu: vcflib: Set absolute path to pkg-config.
Date: Mon, 9 May 2022 04:31:21 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 8d25887d874ef82d2b277067320af155f4684555
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Tue Apr 26 18:16:39 2022 +0530

    gnu: vcflib: Set absolute path to pkg-config.
    
    Setting the absolute path to pkg-config is required to support
    cross-compilation.
    
    * gnu/packages/bioinformatics.scm (vcflib)[arguments]: Set
    PKG_CONFIG_EXECUTABLE in #:configure-flags.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/bioinformatics.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d54ddeb575..ca6c1eba19 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14608,7 +14608,13 @@ library automatically handles index file generation 
and use.")
        ("intervaltree-src" ,(package-source intervaltree))
        ("multichoose-src" ,(package-source multichoose))))
     (arguments
-     (list #:tests? #f ; no tests
+     (list #:configure-flags
+           #~(list (string-append
+                    "-DPKG_CONFIG_EXECUTABLE="
+                    (search-input-file
+                     %build-inputs (string-append
+                                    "/bin/" #$(pkg-config-for-target)))))
+           #:tests? #f ; no tests
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'build-shared-library



reply via email to

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