[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/17: gnu: tcl: Fix cross-compilation.
From: |
guix-commits |
Subject: |
03/17: gnu: tcl: Fix cross-compilation. |
Date: |
Mon, 2 Sep 2019 11:21:50 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-next
in repository guix.
commit c5849815e458c272c6bd1f6fc6a3a30ba574dcf4
Author: Mathieu Othacehe <address@hidden>
Date: Wed Jun 26 18:29:23 2019 +0200
gnu: tcl: Fix cross-compilation.
* gnu/packages/tcl.scm (tcl)[arguments]: Add configure flags to fix
cross-compilation.
---
gnu/packages/tcl.scm | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index 21ca185..96f41e7 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -53,7 +53,7 @@
"0kjzj7mkzfnb7ksxanbibibfpciyvsh5ffdlhs0bmfc75kgd435d"))))
(build-system gnu-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
+ `(#:phases (modify-phases %standard-phases
(add-before 'configure 'pre-configure
(lambda _ (chdir "unix") #t))
(add-after 'install 'install-private-headers
@@ -73,9 +73,16 @@
;; PREFIX/share/man. The 'validate-documentation-location' phase is
;; not able to fix this up because the default install populates both
;; PREFIX/man and PREFIX/share/man.
- #:configure-flags (list (string-append "--mandir="
- (assoc-ref %outputs "out")
- "/share/man"))
+ #:configure-flags
+ (list (string-append "--mandir="
+ (assoc-ref %outputs "out")
+ "/share/man")
+ ;; This is needed when cross-compiling, see:
+ ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719247
+ ,@(if (%current-target-system)
+ '("tcl_cv_strtod_buggy=1"
+ "ac_cv_func_strtod=yes")
+ '()))
;; XXX: There are a few test failures (related to HTTP, most
;; likely related to name resolution), but that doesn't cause
- branch core-updates-next updated (45e0456 -> c249682), guix-commits, 2019/09/02
- 01/17: gnu: perl: Fix cross-compilation., guix-commits, 2019/09/02
- 04/17: gnu: tk: Fix cross-compilation., guix-commits, 2019/09/02
- 05/17: gnu: libxslt: Fix cross-compilation., guix-commits, 2019/09/02
- 02/17: gnu: python: Fix cross compilation., guix-commits, 2019/09/02
- 06/17: gnu: xorg: Fix cross-compilation of multiple packages., guix-commits, 2019/09/02
- 08/17: gnu: http-parser: Fix cross-compilation., guix-commits, 2019/09/02
- 12/17: gnu: help2man: Fix cross-compilation., guix-commits, 2019/09/02
- 14/17: gnu: libarchive: Fix cross-compilation., guix-commits, 2019/09/02
- 03/17: gnu: tcl: Fix cross-compilation.,
guix-commits <=
- 09/17: gnu: libgit2: Fix cross compilation., guix-commits, 2019/09/02
- 11/17: gnu: mit-krb5: Fix cross-compilation., guix-commits, 2019/09/02
- 07/17: gnu: python: Further cross-compilation fixes., guix-commits, 2019/09/02
- 15/17: gnu: tcsh: Fix cross-compilation., guix-commits, 2019/09/02
- 16/17: gnu: pkg-config: Fix cross-compilation., guix-commits, 2019/09/02
- 10/17: gnu: ath9k-htc-firmware: Fix cross compilation., guix-commits, 2019/09/02
- 13/17: gnu: xmlto: Fix cross-compilation., guix-commits, 2019/09/02
- 17/17: gnu: alsa-utils: Fix cross-compilation., guix-commits, 2019/09/02