unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68188] [PATCH] gnu: libassuan: Fix cross-compiling.
@ 2024-01-01  5:59 Zheng Junjie
  2024-01-03 14:30 ` bug#68188: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Junjie @ 2024-01-01  5:59 UTC (permalink / raw)
  To: 68188

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1354 bytes --]

gnu/packages/gnupg.scm(libassuan):
[arguments]: When cross-compiling, set the --with-libgpg-error-prefix configure option.

Change-Id: I320c48f320c34939a8e94589610beb5c40fdf53a
---
 gnu/packages/gnupg.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 73e9c3a78a..a6ba57d7f3 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -236,6 +237,12 @@ (define-public libassuan
        (base32
         "1r1lvcp67gn5lfrj1g388sd77ca6qwnmxndirdysd71gk362z34f"))))
     (build-system gnu-build-system)
+    (arguments (if (%current-target-system)
+                   (list #:configure-flags
+                         #~(list (string-append
+                                  "--with-libgpg-error-prefix="
+                                  #$(this-package-input "libgpg-error"))))
+                   '()))
     (propagated-inputs
      (list libgpg-error pth))
     (home-page "https://gnupg.org")

base-commit: 86b5fa100992527c434616482ba9cfd92b636d12
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#68188: [PATCH] gnu: libassuan: Fix cross-compiling.
  2024-01-01  5:59 [bug#68188] [PATCH] gnu: libassuan: Fix cross-compiling Zheng Junjie
@ 2024-01-03 14:30 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2024-01-03 14:30 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 68188-done


> gnu/packages/gnupg.scm(libassuan):
> [arguments]: When cross-compiling, set the --with-libgpg-error-prefix configure option.

Applied, thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-03 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-01  5:59 [bug#68188] [PATCH] gnu: libassuan: Fix cross-compiling Zheng Junjie
2024-01-03 14:30 ` bug#68188: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).