unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63077: [PATCH] gnu: gnutls: skip examples on mingw.
@ 2023-04-25 21:26 Vivien Kraus via Bug reports for GNU Guix
  2024-01-05 18:06 ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Vivien Kraus via Bug reports for GNU Guix @ 2023-04-25 21:26 UTC (permalink / raw)
  To: 63077

* gnu/packages/tls.scm (gnutls): Skip the doc/examples subdir on mingw,
because the gnulib modules are not correct.
---
 gnu/packages/tls.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 6d7cff41b0..9e16b04702 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -253,6 +253,15 @@ (define-public gnutls
                    (substitute* "tests/fastopen.sh"
                      (("^unset RETCODE")
                       "exit 77\n"))))   ;skip
+               #$@(if (target-mingw?)
+                      #~((add-after 'unpack 'skip-doc-examples
+                           ;; The examples in doc do not link to correct
+                           ;; gnulib modules.
+                           (lambda _
+                             (substitute* "doc/Makefile.in"
+                               (("SUBDIRS = examples")
+                                "SUBDIRS =")))))
+                      #~())
                #$@(if (target-ppc32?)
                       ;; https://gitlab.com/gnutls/gnutls/-/issues/1354
                       ;; Extend the test timeout from the default of 20 * 1000

base-commit: e287a0e402ee15eefa80c2804e487025507fe3b1
-- 
2.39.2




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

end of thread, other threads:[~2024-03-11 17:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25 21:26 bug#63077: [PATCH] gnu: gnutls: skip examples on mingw Vivien Kraus via Bug reports for GNU Guix
2024-01-05 18:06 ` Maxim Cournoyer
2024-03-08 17:22   ` Simon Tournier
2024-03-11 17:47     ` Vivien Kraus via Bug reports for GNU Guix

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).